
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
FPushButton
|
1007
FPushButton
support for a standard UI pushbutton element
Methods
getEnabled()
Boolean indicating whether a pushbutton is enabled (i.e., responds to mouse input).
getLabel()
Returns a pushbutton’s string label.
registerSkinElement()
Registers a skin element for changing the appearance of a pushbutton.
setEnabled() Enables or disables (i.e.,
deactivates) the list box
✓✓
setItemSymbol() Specifies the Library symbol
ID of a graphics symbol for
displaying list content
✓✓
setRowCount() Specifies the maximum
numberof rows displayedin
a list
✓✓
setScrollPosition() Causes the list box to scroll
to the specified item
✗✓
setSelectedIndex() Selects an item in the list by
its row index (zero-relative)
✓✓
setSelectedIndices() Specifies an array of items
(by index) to be selected
✗✓
setSelectMultiple() Boolean specifying whether
multiple items can be
selected in a list box
✗✓
setSize() Sets the width ofthe combo
box or listbox, in pixels(can
also set height of a list box)
✓✓
setStyleProperty() Sets a particular style prop-
erty for the combo box or
list box (for a list of sup-
ported properties, see the
FStyleFormat object)
✓✓
setValue() Sets the current value for a
combo box
✓✗
setWidth() Sets the list box width, in
pixels
✗✓
sortItemsBy() Sorts the items in the list by
either their labels or the
underlying data
✓✓