Progress
Programming
Handbook


Moving the Browse

To let the user move a browse, the programmer sets the browse’s MOVABLE attribute to TRUE, as the following code fragment demonstrates:

mybrowse:MOVABLE = TRUE. 

To move a browse through direct manipulation, the user drags the browse as desired.

To move a browse programmatically, the programmer sets the browse’s X and Y attributes as desired.

The following code fragment programmatically moves a browse to the point (50,50) (in pixels) relative to the parent widget or display:

ASSIGN mybrowse:X = 50 
       mybrowse:Y = 50. 


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