Futurebasic/Language/Reference/button close

Button CloseEdit

StatementEdit

✔ Appearance ✔ Standard χ Console

SyntaxEdit

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

RevisedEdit

May 5, 2000 (Release 3)

DescriptionEdit

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.

ExampleEdit

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

NotesEdit

No special notes.

See AlsoEdit

BUTTON; SCROLL BUTTON; APPEARANCE BUTTON

Language Reference