Progress
Programming
Handbook


Resizing the Browse-column

To let the user resize a browse-column, the programmer uses one of the following techniques:

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:

customer.name:WIDTH-PIXELS IN BROWSE mybrowse = 20. 


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