Progress
Programming
Handbook


Selecting Widgets

When the user selects a widget, Progress, by default, surrounds the widget with a highlight box. If the widget’s RESIZABLE attribute is set to TRUE, the widget’s highlight box also has small boxes, called resize handles, along its edges. The user can use these handles to resize the widget. Figure 24–1 shows the different highlight boxes.

Figure 24–1: Highlight Boxes

When the user selects a widget, Progress sets its SELECTED attribute to TRUE. You can override this behavior by writing a trigger for the SELECTION event and having that trigger return a NO–APPLY. You can prevent Progress from changing a widget’s SELECTED attribute to FALSE by writing a trigger for the DESELECTION event. You can also set the SELECTED attribute to TRUE or FALSE from within your application. When a widget is deselected, Progress sets its SELECTED attribute to FALSE by default.

A user must select a widget before resizing it. The user has two ways to select a widget:


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095