GUI Help > General > setGadgetParent
setGadgetParent
setGadgetParent handle child, handle parent
Description: Changes the parent of a gadget. The child will be "housed" inside the new parent gadget, and behave as if it were created with that parent gadget. You can use this command to move the DBPro window inside a gadget to create a 3D viewport.
Return Value:
Parameters:
child | Handle of the child gadget
parent | Handle of parent gadget
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)