GetGadgetData()
Syntax
Result = GetGadgetData(#Gadget)Description
Returns the 'Data' value that has been stored for this gadget with the SetGadgetData() function. This allows to associate a custom value with any gadget.
Parameters
#Gadget The gadget to use.
Return value
Returns the current data value. If there was never a data value set for this gadget, the return-value will be 0.
Remarks
This function works with all PureBasic gadgets. See SetGadgetData() for an example.
See Also
SetGadgetData(), GetGadgetItemData(), SetGadgetItemData()
Supported OS
All