Progress
Programming
Handbook
Moving and Resizing Field-level Widgets
Follow these steps to move a widget or set of selected widgets:
Progress draws a drag box (Figure 24–3) around each of the selected widgets; these drag boxes move along with the mouse across the frame. A drag box is identical in appearance to a selection box. When the user moves widgets, drag boxes hold their relative position as the user moves them. A move operation only works for widgets whose MOVABLE attribute is set to TRUE.
Figure 24–3: Drag Boxes
![]()
To resize a widget, the user must perform the following steps:
Progress draws a drag box around the selected widget. The drag box changes in size as the user moves the mouse across the frame. A resize operation only works for widgets whose RESIZABLE attribute is set to TRUE.
Each resize handle allows the user to size a widget in a different direction. For example, if the user chooses the top-middle resize handle, Progress resizes the widget vertically. If the user chooses a corner resize handle, Progress resizes the widget diagonally in the direction of that corner. See Figure 24–4.
Figure 24–4: Resize Operation
![]()
If the user resizes a fill-in field, Progress does not change the format of the field to accommodate the greater amount of available space. You can, however, provide triggers for END–RESIZE events to modify the formats. You can use this feature to provide scrolling fill-ins. Set the format to a large value, then set the widget’s size to a small value. Progress will scroll the text when the screen limit is reached.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |