Open a user interface to edit the value of a variable.
bool EditUI <hvar:hVar> <string:Prompt>
Name | Type | Comment |
---|---|---|
hVar | hvar | A handle to the variable to be edited. |
Prompt | string | A string containing a prompt for the user (usually the window title). |
The return value is true
if the user presses OK in the editor dialog box, and false
otherwise.
string s set s "This is a test" EditUI &s "Edit this string"
… the output of which is the dialog box below:
None.