EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificaciones Pagina 129

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 304
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 128
CHAPTER 4: User-Interface Tools Control objects 129
listbox
(contd) creation_properties: Optional. An object that contains any of
the following properties:
name: A unique name for the control.
multiselect: When false (the default), only one item can be
selected. When true, multiple items can be selected.
items: An array of strings for the text of each list item. A
ListItem
object is created for each item. An item with the
text string
"-" creates a separator item. Supply this
property, or the
items argument, not both. This form is most
useful for elements defined using Resource specifications
.
numberOfColumns: A number of columns in which to display
the items; default is 1. When there are multiple columns,
each ListItem
object represents a single selectable row. Its
text
and image values supply the label for the first column,
and the subitems
property specifies labels for additional
columns.
showHeaders: True to display column titles.
columnWidths: An array of numbers for the preferred width
in pixels of each column.
columnTitles: A corresponding array of strings for the title
of each column, to be shown if
showHeaders is true.
panel Panel
A container for other types of controls, with an optional frame.
Containers have additional properties that control the children; see
Container properties” on page 115. Hiding a panel hides all its
children. Making it visible makes visible those children that are not
individually hidden.
To add to a window
w:
w.add (“panel” [, bounds, text, {creation_properties}]);
bounds
: Optional. The element’s position and size. A panel
whose width is 0 appears as a vertical line. A panel whose height
is 0 appears as a horizontal line.
text: Optional. The text displayed in the border of the panel.
Type keyword Class name Description
Vista de pagina 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 303 304

Comentarios a estos manuales

Sin comentarios