|Liberty BASIC Help Online
Controls - Menus, Buttons, Etc.
Here are the details for Liberty BASIC commands that add menus, buttons, listboxes, and more.
A BMPBUTTON is a clickable button that displays an image. Bmpbuttons allow users to give a command to a program.
A BUTTON is a clickable button with a text label. Buttons allow users to give a command to a program.
A CHECKBOX is a small box that can be checked or unchecked by the user, or by the programmer. It displays a text label. A checkbox is used when giving a user options from which to choose.
A COMBOBOX is a form of list. It displays on the window as a small textbox with an arrow at the side. When the user clicks the arrow, the list drops down and the user can make a selection. A combobox is appropriate when a program must give the user a list of choices, but there isn't much room on the window to display a list.
A GRAPHICBOX is a box that displays graphics, such as bitmap images, or drawn objects like circles and lines, or even text. A graphicbox is used to give the user a graphic display, such as showing a bitmap image, drawing a graph or chart, or simply to add visual interest to a program.
A GROUPBOX consists of a label and a box. The box can contain other controls, so that they may be grouped for easy identification. Radiobuttons within a groupbox function as a set. To have multiple sets of radiobuttons in a window, each set must be placed in its own groupbox.
A LISTBOX is a form of list. It appears as a list of items in a box on the window. The user may make a choice by clicking on an item in the list with the mouse. If there are more items in the list than there is room in the listbox, the listbox will automatically add scrollbars. A listbox is a good choice when it is necessary to give the user a list of choices.
A MENU is a dropdown list of user commands that appears on a bar below the titlebar of a window. The user clicks on an item contained in the dropdown list to give the window a command.
A POPUPMENU is a dropdown list of user commands that appears where the mouse is located when the popupmenu command is issued. The user clicks on an item contained in the dropdown list to give the window a command.
A RADIOBUTTON is a small round box that can be clicked by the user. It has a text label. Radiobuttons function in groups. When the user clicks a radiobutton, that button's circle is filled in and all other radiobuttons are cleared. The programmer may set or unset a radiobutton in code also. A radiobutton is used when a user must choose only one possibility from a group of possibilities.
A STATICTEXT is a simple text label used to give information to the user. The user cannot interact with a statictext control.
A TEXTBOX is a small box that contains text. Text can be placed in the textbox by the programmer, or the user can type into the textbox. A textbox is used to get a small amount of text input from the user, or to display a small amount of text.
A TEXTEDITOR is a large box with both horizontal and vertical scrollbars. Text can be placed in the texteditor by the programmer, or the user can type into the texteditor. A texteditor is used to get a large amount of text input from the user, or to display a large amount of text.
Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/