Dynamic Frames

Hi everybody,

I have got a good knowledge on static frames, how Progress allocates frames based on iterations and some rules... When moving through i heard something like Dynamic Frames.

Here in my organisation some guys told me that frames will be allocated during compile time itself so there is nothing like dynamic frames...

I am not sure abt that, so can anyone hely me out...

It wil be more helpful, if u explain this for me with an example if this concept is available in Progress 4GL... :confused:
 
This is more of a "development" question than a "database admin" question but you might want to have your colleague take a careful look at DEFINE FRAME and CREATE FRAME and so forth.
 
I couldnt get u...
Can u be more specific, i do have ideas on static frames. I dont find anything like Dynamic Frames...

Can u give an example 4r me...
 
Thank u very much...

I got an example for dynamic frames... It was much useful for me to understand the concept.

DEFINE VARIABLE ed AS WIDGET-HANDLE.
DEFINE VARIABLE frame1 AS WIDGET-HANDLE.
DEFINE VARIABLE button1 AS WIDGET-HANDLE.
CREATE FRAME frame1
ASSIGN
WIDTH-CHARS = 50
HEIGHT-CHARS = 28
SENSITIVE = YES.
VIEW frame1.
CREATE BUTTON button1
ASSIGN
X = 20
Y = 20
LABEL = "quit"
FRAME = frame1
SENSITIVE = YES
TRIGGERS:
ON CHOOSE STOP.
END TRIGGERS.
VIEW button1.
CREATE EDITOR ed
ASSIGN
WIDTH-CHARS = 20
HEIGHT-CHARS = 7
X = 70
Y = 0
FRAME = frame1
SENSITIVE = YES.
VIEW ed.​
WAIT-FOR GO OF frame1.
 
Back
Top