< Futurebasic < Language < Reference

Button Close

Statement

✔ Appearance ✔ Standard χ Console

Syntax

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

Revised

May 5, 2000 (Release 3)

Description

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

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

Notes

No special notes.

See Also

BUTTON; SCROLL BUTTON; APPEARANCE BUTTON

Language Reference

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.