Status Bar ________________________________________________________ 62
Buttons____________________________________________________________ 63
PegButton ________________________________________________________ 63
PegTextButton ____________________________________________________ 64
PegBitmapButton __________________________________________________ 64
PegCheckBox _____________________________________________________ 66
PegRadioButton ___________________________________________________ 67
CPDropDownButton________________________________________________ 68
CPMultiButton ____________________________________________________ 69
CPToggleButton ___________________________________________________ 70
Text Controls_______________________________________________________ 71
PegPrompt________________________________________________________ 71
PegString_________________________________________________________ 72
CPPegString ______________________________________________________ 73
PegTextBox_______________________________________________________ 74
PegEditBox_______________________________________________________ 75
CPEditBox _______________________________________________________ 76
Other User Interface Controls_________________________________________ 77
PegList __________________________________________________________ 77
PegVertList / PegHorzList ___________________________________________ 77
PegComboBox ____________________________________________________ 78
PegSpinButton ____________________________________________________ 80
PegProgressBar____________________________________________________ 81
Using Floating-Point Values with the ClassPad _____________________________ 83
OBCD Data Structure _______________________________________________ 83
OBCD Flag _______________________________________________________ 83
The Mantissa______________________________________________________ 85
The Exponent _____________________________________________________ 85
Setting the Value of an OBCD_________________________________________ 86
Performing Operations on OBCDs _____________________________________ 89
Converting OBCDs__________________________________________________ 90
C++ Functions______________________________________________________ 91
CBCD Data Structure________________________________________________ 91
Setting the Value of a CBCD __________________________________________ 91
Performing Operations on CBCDs _____________________________________ 92
Converting CBCDs __________________________________________________ 92
BCD Converter Tool_________________________________________________ 92
More Information ___________________________________________________ 93
Strings and String Handling In the ClassPad _______________________________ 94
4