RemoveButton Method (TOOLBAR)
PLBCMP GUI Only
The RemoveButton method deletes a button from a TOOLBAR object. The method uses the following format:
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A TOOLBAR object to which a button is added.
return
Optional. A Numeric Variable that indicates the success or failure of the method.
key
Required. A Character String Variable or Numeric Variable that specifies the run-time name or zero-based position of the button.
Flags Affected: EOS, OVER, ZERO
Note the following:
If the value returned is zero, the ZERO Condition Flag is set.
The OVER and EOS Condition Flags are always cleared.
A return value zero (0) indicates success.
For improved performance in the Application Server environment, do not specify the optional return value unless needed.
See Also: Method Syntax, TOOLBAR Methods
![]() |