PVDynamic_AddGadget (parentid.l,GadgetID.l,MoveSize.l)
Previous  Top  Next

Add a Gadget to be Dynamically Resize.

Use:
PVX::PVDynamic_AddGadget(#Window,#Gadget,4)

This is automatically created by PureVision when a project is exported.


MoveSize
1 - Vertical Sizing  
2 - Horizontal Sizing  
4 - Vertical Movement  
8 - Horizontal Moving  
 
To allow a Gadget to Dynamically size horizontally and move vertically:
PVX::PVDynamic_AddGadget(#Window,#Gadget,2|4)



For Gadgets to Dynamically Resize on a Form, the Form must first be added using PVDynamic_AddWindow