Progress
Language Tutorial
for Character
Toggle Box Programming Example
Follow these steps to see how to use VALUE-CHANGED:
- Open
lt-07-05.p
and run it. The following display appears:
![]()
- Only the toggle box and Exit button are sensitive. Activate the toggle box. A VALUE-CHANGED trigger calculates the tax and new total.
Note that if you pause your mouse pointer over the toggle box a ToolTip is displayed.
- Deactivate the toggle box. The VALUE-CHANGED trigger executes again and calculates the total without the tax.
- Choose Exit, then press SPACEBAR to return to the Procedure Editor.
Here is the code that created the display:
These notes explain the code highlights:
NOTE: The TOOLTIP attribute noted in the code example is ignored when this code is run on a character client.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |