ITT Rule IDL Version 7.0 User Manual Page 80

  • Download
  • Add to my manuals
  • Print
  • Page
    / 430
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 79
80 Chapter 4: Property Management
Property Attributes iTool Developers Guide
of multiple objects are displayed in the property sheet (either because multiple
objects are selected, or because the objects have been grouped).
Note
The iTool developer is responsible for setting this property attribute back to zero.
Use the SET_DEFINED field of the WIDGET_PROPERTYSHEET event structure
to determine when to set the UNDEFINED attribute back to zero.
USERDEF (Get, Set)
A string that represents the value of a user-defined property. See “User Defined
Property Types on page 73 for details.
VALID_RANGE (Get, Set)
For integer or float types (TYPE = 2 or TYPE = 3), set this keyword to a two- or
three-element vector specifying the [minimum, maximum] or [minimum, maximum,
increment] for valid values of the property.
What is displayed for the property sheet number cell depends upon the following:
If this attribute is not specified — the property sheet displays an editable text
field where masked editing is enforced, and the range is that of the data type.
The only accepted keystrokes are the ten digits, and the plus and minus signs.
If the float type is specified, the decimal, and “d” and “e” (scientific exponent
notation tokens) are also allowed.
If a range is specified without an increment — the property sheet displays a
spinner control that allows the user to click, or click and hold the up or down
buttons to change the value. For an integer type, the increment is one. For a
float type, the increment equals approximately 1/100 of the range. For
example, a range of 100 results in an increment of 1. A value is snapped to the
nearest allowable value when a value outside the range, or not equal to an
incremental value, is entered. The editable text field (featuring masked editing)
also allows the user to enter a numerical value.
If a range and increment are specified — the property sheet displays a slider
with a marker that can be repositioned to change the value. A value is snapped
to the nearest allowable value when a value outside the range, or not equal to
an incremental value, is entered. The increment value must be positive.
Specifying an increment of 0 (zero) is the same as specifying a range without
an increment. The editable text field (featuring masked editing) also allows the
user to enter a numerical value.
Page view 79
1 2 ... 75 76 77 78 79 80 81 82 83 84 85 ... 429 430

Comments to this Manuals

No comments