Progress
Programming
Handbook
Resizing the Browse-column
To let the user resize a browse-column, the programmer uses one of the following techniques:
- To let the user resize any browse-column of a browse, the programmer sets the browse’s COLUMN–RESIZABLE attribute to TRUE, as the following code fragment demonstrates:
- To let the user resize a single browse-column of a browse, the programmer sets the browse-column’s RESIZABLE attribute to TRUE, as the following code fragment demonstrates:
To resize a browse-column through direct manipulation, the user drags a column separator horizontally as desired.
To resize a browse-column programmatically, the programmer sets the browse-column’s WIDTH–CHARS and WIDTH–PIXELS attributes as desired.
The following code fragment programmatically changes the width of the “Name” browse-column (representing the Name field of the Customer table of the Sports database) to 20 pixels:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |