On Check
The actions that will be performed whenever an item is checked/unchecked in the listbox object. Click the edit button to open the script editor.
Note that clicking on an unselected checkbox in the list will trigger an On Select event before the On Check event is fired. This is the normal behaviour for checklist box controls in Windows. Specifically, clicking on a checkbox in the list toggles the check for all selected items. If the item is currently unselected, it is selected first, then the checkbox is toggled.
Note: If the item is already selected, there will be no On Select event first. Do not depend on there being an On Select every time you toggle a check box.
ListBox Object
OverviewPaneDialogActions
Here are the object's settings as they appear on the "double-click" Properties dialog. There are three tabs on the Properties dialog:
Settings Attributes Script
S e tt ing s T a b Obj ec t
ListBox items:
The items that are contained in the listbox.
A list consists of a number of items, each one with two parts: item text, which is the visible part that will appear in the listbox, and item data, which is an invisible part that is associated with that item. You can use the item data to store any information that you want to associate with the item text, such as a file path or page name. If the Checklist box option is enabled a checkbox is also shown where you can set its initial state.
Items can be added to the list by clicking on one of the fields and entering the desired text. You can manipulate the list using the buttons at the bottom of the dialog. The Insert Row button can be used to insert an item into the list, essentially inserting a new "row." The remove, up, and down buttons allow you to remove or move items in the list. The ascending and descending buttons can be used to sort the list in ascending or descending order.
Op t ion s
Checklist box
Whether to display a checkbox for each item in the list control. (Switches between the "normal" list box type and the checklist box type.)
Tip: You can toggle many checkboxes at once by selecting multiple items and pressing the space bar.