EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Dokumentacja Strona 131

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 304
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 130
CHAPTER 4: User-Interface Tools Control objects 131
radiobutton RadioButton
A dual-state control, grouped with other radiobuttons, of which only
one can be in the selected state. Shows the selected state when
value is true, empty when value is false. Calls the onClick callback if
the control is clicked or if its notify()
method is called.
All
radiobuttons in a group must be created sequentially, with no
intervening creation of other element types. Only one
radiobutton
in a group can be set at a time; setting a different
radiobutton
unsets the original one.
To add to a window
w:
w.add (“radiobutton” [, bounds, text,
{creation_properties}]);
bounds
: Optional. The control’s position and size.
text: Optional. The text displayed in the control.
creation_properties: Optional. An object that contains the
following property:
name: A unique name for the control.
scrollbar Scrollbar
A scrollbar with a draggable scroll indicator and stepper buttons to
move the indicator. The
scrollbar control has a horizontal
orientation if the
width is greater than the height at creation time,
or vertical if its
height is greater than its width.
Calls the onChange
callback after the position of the indicator is
changed or if its notify()
method is called. Calls the onChanging
callback repeatedly while the user is moving the indicator.
X The value property contains the current position of the
scrollbar’s indicator within the scrolling area, within the range of
minvalue and maxvalue.
X The stepdelta property determines the scrolling unit for the up
or down arrow; default is 1.
X The jumpdelta property determines the scrolling unit for a
jump (as when the bar is clicked outside the indicator or arrows);
default is 20% of the range between
minvalue and maxvalue.
Type keyword Class name Description
Przeglądanie stron 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 303 304

Komentarze do niniejszej Instrukcji

Brak uwag