
118
The sample below may display only "ABC" on a function touch key.
KEYNO% = 3
DSPDATA$ = "ABCDE"
FONT% = .cnANK
’Standard-size font in ANK mode
ATTRIB%=.cnW1H1
CALL "CONSOLE.FN3" .fcFKeyDsp KEYNO%,DSPDATA$,FONT%,ATTRIB%
- If you assign a character string to the same function touch key more than one time, the last
specification will take effect.
[ 5 ] Keystroke trapping
You may trap the pressing of a particular function touch key, by programming with the
KEY
ON
,
KEY OFF
, and
ON KEY
...
GOSUB
statements.
For details about the keystroke trapping, refer to Chapter 9, "Event Polling and Error/Event
Trapping."
Summary of Contents for BHT-BASIC 100 SERIES
Page 1: ......
Page 161: ...153 Chapter 10 Sleep Function CONTENTS 10 1 Sleep Function 154...
Page 163: ...155 Chapter 11 Resume Function CONTENTS 11 1 Resume Function 156...
Page 173: ...165 Chapter 13 Backlight Function CONTENTS 13 1 Backlight Function 166...
Page 249: ...241 Example CLOSE IF kyIn Y THEN KILL Master Dat END IF Reference Statements CLFILE...