RealCombobox

A high-precision numeric entry control featuring both a pop-up menu and an entry field.

Properties

Property Type Access Description
editContents string r/w The default value in an editbox control. Note: Do not specify both edit contents and edit value. If both are specified, the one that occurs later in the script is used.
editValue number r/w The real number default value of the editbox or combobox. Note: For measurement controls, the value is interpreted in points. The points value is converted to edit units when the dialog opens. Note: Do not specify both edit value and edit contents. If both are specified, the one that occurs later in the script is used.
id number readonly The unique ID of the RealCombobox.
index number readonly The index of the RealCombobox within its containing object.
largeNudge number r/w The amount to increment/decrement the value when a user selects the control and holds down the Shift key while pressing an arrow key on the keyboard.
maximumValue number r/w The maximum value that a user is allowed to type in a numeric editbox or combobox. Note: The value for a measurement editbox or combobox is interpreted in points, regardless of the edit units specified for the control. The points value is converted automatically to the edit unit when the dialog is opened.
minimumValue number r/w The minumim value that a user is allowed to type in a numeric editbox or combobox. Note: The value for a measurement editbox or combobox is interpreted in points, regardless of the edit units specified for the control. The points value is converted automatically to the edit unit when the dialog is opened.
minWidth number r/w The width of the control. For an editbox or combobox, specifies the minimum width of the box.
parent any readonly The parent of the RealCombobox (a DialogColumn, DialogRow, EnablingGroup or BorderPanel).
properties Object r/w A property that allows setting of several properties at the same time.
smallNudge number r/w The amount to increment/decrement the value when the user selects the control and presses an arrow key on the keyboard.
stringList Array of string r/w The menu items on a dropdown or combobox control, as an array of strings.

Methods

Array of RealComboboxgetElements ()
Resolves the object specifier, creating an array of object references.

string toSource ()
Generates a string which, if executed, will return the RealCombobox.

string toSpecifier ()
Retrieves the object specifier.

Used in:

RealComboboxes.previousItem (

obj:
RealCombobox )

RealComboboxes.nextItem (

obj:
RealCombobox )

Returned by:

Array of RealCombobox RealCombobox .getElements (

)

RealCombobox RealComboboxes.add (
[withProperties:
Object]
)

RealCombobox RealComboboxes.anyItem (

)

Array of RealCombobox RealComboboxes.everyItem (

)

RealCombobox RealComboboxes.firstItem (

)

RealCombobox RealComboboxes.item (
index:
any
)

RealCombobox RealComboboxes.itemByID (
id:
number
)

RealCombobox RealComboboxes.itemByName (
name:
string
)

Array of RealCombobox RealComboboxes.itemByRange (
from:
any, to:
any
)

RealCombobox RealComboboxes.lastItem (

)

RealCombobox RealComboboxes.middleItem (

)

RealCombobox RealComboboxes.nextItem (
obj:
RealCombobox
)

RealCombobox RealComboboxes.previousItem (
obj:
RealCombobox
)

Leave a Comment

Previous post:

Next post: