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 separated 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.