RemoveControl |
PXPWindow.RemoveControl(Long cFeq)
If you're going to remove runtime created control (added with AddControl), you must call this method before deleting the control, or you will GPF.
cFeq is the control's Field Equate Label (PROP:Feq)
If the control's type alrready is recognized by PowerXP-Theme control will removed from the internal queues.
Example:
PXPWindow.RemoveControl(?MyControl{PROP:Feq})