Progress
Language Tutorial
for Character
Toggle Boxes
Toggle boxes let you represent selectable menu items as logical values. You can then program the menu item to trigger a different event based on the value of the toggle box which changes each time the user selects the menu item. The application can examine the CHECKED attribute for the menu item to determine whether the item is currently checked or unchecked. You can also initialize or change the condition of the menu item by setting the CHECKED attribute in the program.
When the user toggles a toggle-box item, Progress sends the VALUE-CHANGED event to the menu item. Therefore, by defining a trigger on that event, you can take immediate action when the user toggles the value.
This is the syntax for the TOGGLE-BOX option.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |