Progress
Language Tutorial
for Character
Working with Toggle Boxes
A toggle box is a widget that graphically represents the state of a LOGICAL value. Progress displays a box in front of the widget label. When the value of the widget is TRUE, the box is filled. When the value of the toggle box is FALSE, the box is empty. Figure 7–4 shows the parts of a toggle box.
Figure 7–4: Parts of a Toggle Box
![]()
Instead of relying on textual value pairs like TRUE/FALSE or YES/NO, the toggle box graphically represents the value of a single logical field. A filled or checked box indicates a positive choice and is said to be activated. An empty box indicates a negative choice and is said to be deactivated.
This is the syntax for defining a toggle box.
As mentioned earlier in this chapter, the TOOLTIP attribute allows you to optionally define a text message string that automatically displays when the mouse pointer pauses over the toggle box.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |