Use this function to create a window with a title and a prompt which asks the user to enter information.
Input (Prompt, Title, Length, DefText)
Parameter |
Description |
Prompt |
Enter a text string to assign as the prompt for the field. The default is Text. |
Title |
Enter a text string to assign as the title of the window. The default is Title. |
Length |
Enter the maximum input text length. The default is set by Windows. |
DefText |
Enter a text string to assign as the default input data. |
The system returns the input results.
This function creates a window you can use to gather information from a user. The text entered through the window is returned as a string. If no text is assigned, or if the user closes the window without choosing Ok, the returned string will be empty.
Here are some examples:
© Copyright 2014, Oracle and/or its affiliates. All rights reserved. Legal notices.