Directives
REMOVE CONTROL Delete control from window
   
Format REMOVE CONTROL ctl_id { , ctl_id, ... }[, ERR=stmtref ]
 
Where:
ctl_id Unique numeric CTL identifier for the object (button, list box, etc.) to be hidden. Numeric expression, integer. Multiple controls may be specified each seperated by a comma.
   
Description Use the REMOVE CONTROL directive to delete a control (or controls) from the current window.

This directive allows the application to remove a control without having to know what type of control is being referenced.