Who Should Read This Manual 7
In This Manual 7
Manual Conventions 8
Important Terms 8
What's In a NewBASIC Program 9
Development Cycle: What You Will Do 10
Starting and Exiting NewBASIC 11
Using the NewBASIC Builder Tools 12
Compiling and Running the Program 24
Applications 25
Component Tree: Parents & Children 26
Focus and Active Windows 28
Text Input 29
Mouse Input 30
Time 31
Color 32
Organization of BASIC Code 35
The Editor Window 37
The Language 41
Base Component Set 97
Some Common Properties 100
Alarm 105
Busy 106
Button 108
Choice 109
Clipboard 110
Clipper 112
Database 113
Dialog 121
Display 123
Draw 124
Entry 126
File 127
FileBuffer 133
FileSelector 134
Floater 135
Form 137
Gadget 139
Group 150
Keyboard 151
Label 154
Launcher 154
List 159
Picture 161
Popup 162
PrintControl 163
Scrollbar 163
Sound 166
Spacer 167
Sprite 168
SpriteContent 170
Table 171
Text 186
TimeDate 191
Timer 194
Toggle 194
Running, Pausing, and Stopping 197
Crash Recovery 198
Breakpoints: Pausing in Routines 199
Examining and Changing Variables 199
The New Deal IDE 201
Getting Started 201
Adding a Component to the Form 203
Moving and Re-sizing the Component 204
Changing the Component's Properties 204
Adding BASIC Code 206
Testing the Program with the Builder 208
Saving Your Work 209
Compiling 209
UI Catalog 210