Progress
Programming
Handbook


Resizing the Browse

To let the user resize a browse, the programmer sets the browse’s RESIZABLE and SELECTABLE attributes to TRUE, as the following code fragment demonstrates:

mybrowse:RESIZABLE = TRUE. 
mybrowse:SELECTABLE = TRUE. 

To resize a browse through direct manipulation, the user clicks on the browse to display the resize handles, then drags a resize handle as desired.

To resize a browse programmatically, the programmer sets the browse’s WIDTH–CHARS, WIDTH–PIXELS, HEIGHT–CHARS, HEIGHT–PIXELS, and DOWN attributes as desired.

The following code fragment programmatically resizes a browse to 50 characters wide by 40 characters high:

ASSIGN mybrowse:WIDTH-CHARS = 50 
       mybrowse:HEIGHT-CHARS = 40. 


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