hm_getstring
Get a string value using a dialog.
Syntax
hm_getstring ?label? ?title? ?default_value?
Type
HyperMesh Tcl GUI Command
Description
This command returns a string value by providing the user with a dialog.
Inputs
- ?label?
- The entry label. Default is “Value =”.
- ?title?
- The dialog title. Default is “Enter a string…”. label must be specified to use this option.
- ?default_value?
- Optional default string in the entry field. title must be specified to use this option.
Example
set label1 [hm_getstring "Label=" "Please specify the label"]
Errors
None.
Version History
2017.1 - Added new optional default_value argument.