Contents | Index | < Browse | Browse >
GADID IDNumber
This command assigns IDNumber to the gadget you attach it to.
> XButton 10 10 100 10 "Example"
> GadID 10
The IDNumber is used by other commands to reference the gadget.
You need not give a GadID to a gadget if you are not going to
change it.
Other commands will usually reference the Gadget as follows :
> Update GuiName GadID Value
In the above example, GuiName is the name of the file that the
gadget resides in and the GadID is the ID you have given it.
In this way, you can SetGad, Update etc any gadget, in any GUI.
Note that you can give the same GadID to many gadgets.
This is useful if you want to, say, setgad lots of gadgets on/off
all together.
---------------------------------------------------------------
See also :
LVHook LVUse SetGad