GetGadgetData3D()

Syntax

Result = GetGadgetData3D(#Gadget3D)
Description
Returns the 'Data' value that has been stored for this gadget with the SetGadgetData3D() function. This allows to associate a custom value with any gadget. If there was never a data value set for this gadget, the returnvalue will be 0.

This function works with all PureBasic gadgets. See SetGadgetData3D() for an example.

Supported OS

All

<- GetGadgetAttribute3D() - Gadget3D Index - GetGadgetItemData3D() ->