resizemode

Define the resize process in a beas form for all components

 

c         Send event to "formevent resize"

u         Send function "resize" to declared objects

f         Start function "reset()"

[empty] automatic mode, only with dw_1 (= default)

 

is_resizemode sys_resize

Note: Alternative use form_resize event. This event is called every time

Difference is only, that you can disable the standard resize function

 

 

Example: Make own Resize function with dw_1 and dw_2

// in open event define the resize mode

#jbs
document.resizemode="f";
 
// now we can define the resize function
global function resize

#jbs
dw_1.x=min;
dw_1.y=min;
dw_1.width=max;
dw_1.height=document.height / 2;
dw_2.x=min;
dw_2.width=max;
dw_2.y=document.height / 2 + 20;
dw_2.height=max;
dw_2.visible=true;
end global