Progress
Programming
Handbook
Moving the Browse-column
To let the user move the browse-columns of a browse, the programmer uses one of the following techniques:
- To let the user move any browse-column of a browse, the programmer sets the browse’s COLUMN–MOVABLE attribute to TRUE, as the following code fragment demonstrates:
- To let the user move a single browse-column of a browse, the programmer sets the browse-column’s MOVABLE attribute to TRUE, as the following code fragment demonstrates:
To move a browse-column through direct manipulation, the user drags a column label horizontally. (If the user drags a column label to either edge of the viewport, Progress scrolls the viewport.)
NOTE: To move the second browse-column to the left, the user should move the leftmost browse-column to the right instead, thereby swapping slots.To move a browse-column programmatically, the programmer uses the MOVE–COLUMN method of the browse.
The following code fragment programmatically moves the first browse-column of a browse to the third position:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |