MeasurementEditbox

A measurement entry field.

Objects:

MeasurementUnits, Number, Object, String

Hierarchy:

Superclass: Widget

Class: MeasurementEditbox

Property Listing

Property

Type

Access

Description

editContents

String

read/write

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.

editUnits

MeasurementUnits

MeasurementUnits.CENTIMETERS

MeasurementUnits.CICEROS

MeasurementUnits.INCHES

MeasurementUnits.INCHES_DECIMAL

MeasurementUnits.MILLIMETERS

MeasurementUnits.PICAS

MeasurementUnits.POINTS

read/write

The measurement units to display in the measurement control.

editValue

Number

read/write

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 MeasurementEditbox.

index

Number

readonly

The index of the MeasurementEditbox within its containing object.

largeNudge

Number

read/write

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

read/write

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.

minWidth

Number

read/write

The width of the control. For an editbox or combobox, specifies the minimum width of the box.

minimumValue

Number

read/write

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.

parent

DialogRow

EnablingGroup

BorderPanel

DialogColumn

readonly

The parent of the MeasurementEditbox (a DialogColumn, DialogRow, EnablingGroup or BorderPanel).

properties

Object

read/write

A property that allows setting of several properties at the same time.

smallNudge

Number

read/write

The amount to increment/decrement the value when the user selects the control and presses an arrow key on the keyboard.

Return

MeasurementEditboxes.add()