SG_SetGadgetPos

Syntax:

SG_SetGadgetPos(SG_GadgetID_L.l, XPos_L.l, YPos_L.l)

Parameters:

SG_GadgetID_L

=

The number of the gadget

XPos_L

=

the new x-position of the gadget

YPos_L

=

the new y-position of the gadget


Description:

place the gadget to a new position on the screen. #PB_Default (-1) can be passed as any parameter (XPos_L, YPos_L) and this parameter will not be changed.


Example:


Remarks:



Supported OS:   Windows