Futurebasic/Language/Reference/button close

Button Close edit

Statement edit

✔ Appearance ✔ Standard χ Console

Syntax edit

BUTTON CLOSE [#]btnID
BUTTON CLOSE [#]-btnID

Revised edit

May 5, 2000 (Release 3)

Description edit

The button or scroll bar specified by btnID is removed from the current output window. This is one of two ways you can dispose of a button: the other way is to close the window, which automatically closes all the buttons and scroll bars in it.

If BUTTON CLOSE uses a negative btnID, the area previously occupied by the control is not erased or invalidated. No update event will occur as a result of close a button with a negative btnID.

Example edit

BUTTON CLOSE #1
BUTTON CLOSE #_radioBtn2
BUTTON CLOSE -1

Notes edit

No special notes.

See Also edit

BUTTON; SCROLL BUTTON; APPEARANCE BUTTON

Language Reference