The Scroll Bar Options dialog can be displayed by clicking on the Options push button in the Edit Scroll Bar dialog. This dialog presents additional attributes of a scroll bar, primarily related to dynamic behavior. The dialog consists of two sections: behavior and callback events.
This section presents behavioral attributes of a list box form field object.
| Auto Skip | This field determines if the focus automatically skips to the next field in the tab order when the scroll bar is selected. |
This section presents the different callback events to which the list box can be made to respond.
| Lost Focus | If this field is selected, the scroll bar responds to a "GotFocus" event and terminates a FORM INPUT command. A "GotFocus" event occurs when the scroll bar receives the input focus, by mouse click, tabbing or an accelerator key. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "GotFocus", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the scroll bar or if blank, the scroll bar's Field Name. |
| Lost Focus (Always) | If this field is selected, the scroll bar responds to a "LostFocus (Always)" event and terminates a FORM INPUT command. A "Lost Focus (Always)" event occurs when the scroll bar loses the input focus, by mouse click, tabbing, or an accelerator key. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "LostFocus", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the scroll bar or if blank, the scroll bar's Field Name. |
| Lost Focus (Modified) | If this field is selected, the scroll bar responds to a "LostFocus (Modified)" event and terminates a FORM INPUT command. A "LostFocusModified" event occurs when a mouse click occurs data is entered into the scroll bar or a list member other than the currently highlighted list member is selected and the scroll bar then loses the input focus, by mouse click, tabbing, or an accelerator key. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "LostFocusModified", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the scroll bar or if blank, the scroll bar's Field Name. |
| Click | If this field is selected, the scroll bar responds to a "Click" event and terminates a FORM INPUT command. A "Click" event occurs when the scroll bar receives the input focus by mouse click. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "Click", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the scroll bar or if blank, the scroll bar's Field Name. |
| Modified | If this field is selected, the scroll bar responds to a "Modified" event and terminates a FORM INPUT command. A "Modified" event occurs when a mouse click occurs anywhere within the scroll bar. After the FORM INPUT command terminates, the event vector Event is populated as follows: Event.EventName contains the string "Modified", Event.EventType contains the string "FormField", and Event.EventTag contains the Field Tag value associated with the scroll bar or if blank, the scroll bar's Field Name. |
| Close | This push button performs any required data validation, records (but does not commit) any changes which were made in this dialog, and returns to the Edit Scroll Bar dialog. |
| Cancel | This push button discards any changes that were made in this dialog and returns to the Edit Scroll Bar dialog. |
| Help | This push button invokes the Zim Help facility, initially displaying the section entitled Scroll Bar Options dialog (this section). |