The following component types are part of the base component set.
Button (
See Button
)
This component acts as a button. The program can handle the event of the user pressing the button.
Choice (
See Choice
)
Choices present the user with an exclusive choice: choices must be the children of groups, and only one choice within any group may be selected at any one time. Lists can also provide exclusive choices.
Entry (
See Entry
)
The Entry allows the user to enter a single line of text. Programs using an Entry can handle the event when the user is done entering text, or can even handle each letter entered.
Group (
See Group
)
The group intelligently manages its children components.
Label (
See Label
)
This component displays a single line of text.
List (
See List
)
This component presents a list to the user. The items in the list may be strings of text or graphics. The program can handle the event when the user selects an item of the list.
Scrollbar (
See Scrollbar
)
A Scrollbar provides a common interface for scrolling through documents, fields, etc. Programs using Scrollbars can intercept events when the user tries to scroll forward or back.
Toggle (
See Toggle
)
Toggles act as check-boxes or on-off switches. Programs using toggles can handle the event when the toggle is turned on or off. Lists can also provide on-off choices. When presenting a large number of related on-off choices, you'll probably want to use a list.
Alarm (
See Alarm
)
This component manages an alarm. It can set this alarm to go off at some time, at which point the component will be alerted. Even if the component's module is dormant, it will still be alerted.
Clipboard (
See Clipboard
)
This component monitors the system clipboard, the mechanism that allows cut, copy, paste, and quick transfer.
Clipper (
See Clipper
)
Clippers are "primitive" windows. They don't do much other than clip their children to their bounds.
Database (
See Database
)
A Database component allows you to organize several pieces of information in a database.
Dialog (
See Dialog
)
Dialogs are Windows which alert the user to problems or present the user with a number of choices.
Draw (
See Draw
)
Draws provide raw graphic drawing abilities within your NewBASIC modules.
File (
See File
)
Files provide input/output operations on external files.
FileBuffer (
See FileBuffer
)
FileBuffers provide standard storage for the contents of file operations.
FileSelector (
See FileSelector
)
FileSelectors are Windows which provide access to select and open files on hard disks.
Floater (
See Floater
)
Floaters are "primitive" dialog boxes. They don't have much built-in functionality, but are very customizable.
Form (
See Form
)
Forms are the primary windows of programs. The top-level component of any application will be a form.
Gadget (
See Gadget
)
Gadgets are "primitive" components. They can detect text input, and have great control over their appearance. They don't have much built-in functionality, but are very customizable.
Picture (
See Picture
)
This component displays a bitmap picture.
Popup (
See Popup
)
The Popup functions as a pop-up list. Normally, it takes up little screen area. When selected, it expands, revealing its children to the user.
PrintControl (
See PrintControl
)
PrintControls provide printing capabilties to your NewBASIC module.
Spacer (
See Spacer
)
The Spacer doesn't do anything; it just takes up space. It comes in handy when you need to pad out a program's UI.
Sprite (
See Sprite
)
Sprites provide animation capabilities within your NewBASIC modules.
SpriteContent (
See SpriteContent
)
SpriteContents provide convenient places to store sprites within an animation sequence.
Table (
See Table
)
A Table component displays data in a table form. It supplies actions supporting row-based scrolling.
Text (
See TimeDate
)
The Text component provides a multi-line text editing field.
TimeDate (
See TimeDate
)
A component of this type keeps track of the current day and time of day.
Timer (
See Timer
)
This component generates keeps track of time elapsed, and generates an event when a certain amount of time has passed.