Accessible Using
Double-click on the list box control; or
if selected: "Control > Attributes" or by selecting 'Attributes...' from the control's context menu or
if selected: ENTER.
Note:
For context-sensitive help on attribute entries, select the entry so
it has the focus, and press F1.
Entry in Attributes Window | Represents |
---|---|
Name | Handle name of the list box control (may be overwritten with another name). |
Items | Input field where you can specify the number of list box items in the list box control. When you enter a number here, the dialog editor generates the corresponding list box items and the "Source" dialog box becomes enabled. |
... |
Dialog box for determining sources of the list box items' STRING attribute values. |
Font | Output field where the font currently selected is displayed. |
... |
Dialog box for selecting fonts. |
DIL text | DIL-TEXT attribute value (string). |
... |
Dialog box for determining sources of DIL-TEXT attribute values. |
Accelerator | ACCELERATOR attribute value. |
... |
Dialog box for determining sources of ACCELERATOR attribute values. |
Context Menu | CONTEXT-MENU attribute value. Specifies the context menu (if any) associated with the control. |
Help ID | HELP-ID attribute value. You must use the help topic's .h file to map the numerical ID that you enter here to the corresponding help topic ID (created by a markup in the .hlp file). |
Drag Mode | DRAG-MODE attribute value. Indicates whether the control can act as the source in a drag-drop operation and, if so, which types of drag-drop operation it supports. |
Drop Mode | DROP-MODE attribute value. Indicates whether the control can act as the target in a drag-drop operation and, if so, which types of drag-drop operation it supports. |
State: | |
Visible | VISIBLE attribute value. |
Enabled | ENABLED attribute value. |
Multiple selection | MULTI-SELECTION attribute value. If you check this entry, the end user may select several list box items at a time. |
Sorted | SORTED attribute value. If you check this entry, the items are sorted and you cannot modify them. |
Autoselect | AUTOSELECT attribute value. If you check this entry, Natural automatically updates the selection in response to a right mouse button click before displaying a context menu. |
Style: | |
3-D Border | STYLE attribute value: list box has sunken appearance. |
Integral height | STYLE attribute value: partial rows are not displayed. |
Insertion Mark | STYLE attribute value: insertion mark will be displayed if the control is a target in a drag-drop operation and a drop is allowed. |
Rectangle: | The following four attributes decide the list box control's x
and y axis position, its height and its width on the screen.
X -
RECTANGLE-X attribute
value. |
Foreground color: | |
Selection box | FOREGROUND-COLOUR-NAME attribute value. |
... |
"Custom" dialog box for editing FOREGROUND-COLOUR-VALUE attribute value. |
Background color: | |
Selection box | BACKGROUND-COLOUR-NAME attribute value. |
... |
"Custom" dialog box for editing BACKGROUND-COLOUR-VALUE attribute value. |
OK | Save settings and exit the window. |
Cancel | Exit the window without saving the settings. |
Help | Provides online help on the attributes window. |