Progress
Programming
Handbook


Creating the Dynamic Browse

A dynamic browse is one you create at runtime using the BROWSE option of the CREATE Widget statement. Within the CREATE BROWSE statement, you can assign attributes to the browse and specify its associated query.

The following code fragment depicts creating a dynamic browse:

DEFINE VARIABLE br1 AS HANDLE.
. . .
/* define query and define frame here */

CREATE BROWSE br1
    ASSIGN FRAME = FRAME f1:HANDLE
           X = 2
           Y = 2
           WIDTH = 80
           DOWN = 10
           QUERY = QUERY q1:HANDLE
           TITLE = "Dynamic Browse"
           SENSITIVE = TRUE
           VISIBLE = TRUE
           READ-ONLY = FALSE
           SEPARATORS = TRUE.
. . . 


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