Futurebasic/Language/Reference/button close

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Button Close[edit | edit source]

Statement[edit | edit source]

✔ Appearance ✔ Standard χ Console

Syntax[edit | edit source]

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

Revised[edit | edit source]

May 5, 2000 (Release 3)

Description[edit | edit source]

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 | edit source]

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

Notes[edit | edit source]

No special notes.

See Also[edit | edit source]

BUTTON; SCROLL BUTTON; APPEARANCE BUTTON

Language Reference