Scripting API

<<GetNextObject Main Index GetPrevObject>>
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

GetNumber

Script Name: GetNumber
Name: GetNumber
Library: CmdExternal
Description: Brings up a dialog box with a numeric edit control and prompts the user to enter a number. Returns the number along with an indication of whether OK or Cancel was pressed to end the dialog.
Status bar text: Prompt the user to enter a number
Tool tip text: Get Number
 
Parameter Repository:
NameScript NameType Description Supports None Default Minimum Maximum
Default ValueDefaultValueRealDefault value to use. This will be the initial value in the dialog box.No1.0-1000000.01000000.0
Dialog TitleDialogTitleStringText that is displayed in the title bar of the dialog box.No
Get Integer ValueGetIntegerEnumeration (Boolean)If true, the control is limited to integer input. If false, floating point values are allowed. Default is trueNoTrue
Use Logarithmic SliderLogarithmicSliderEnumeration (Boolean)If true, the meter bar and popout slider on the numeric edit control will use logarithmic values. Default is false.NoFalse
Maximum ValueMaxValueRealMaximum value that can be entered by the userNo100.0-1000000.01000000.0
Minimum ValueMinValueRealMinimum value of the number that can be enteredNo0.0-1000000.01000000.0
PromptPromptStringPrompt string that is shown above the numeric edit controlNo
General SettingsGeneralSettingsParameter RepositoryContains parameters that control the execution of the command.No
 
Return Type:
NameScript NameType Description Supports None Default Minimum Maximum
ResultResultParameter RepositoryReturn value of the command. Has a numeric value that is the result of the dialog box, along with an indication of whether OK or Cancel was pressed.No
 
Command Attributes:
IsExternal: true
NoRepeat: true
NoDocumentNeeded: true
 
Resource Attributes: