
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
2.10
6-24
Example
The example uses the
MMI_CheckButton
routine to wait until a
(valid) key was pressed.
DIM lKeyPressed AS Logical
DO
MMI_
CheckButton( lKeyPressed )
LOOP UNTIL lKeyPressed
'do something ..
6.1.15 MMI_GetButton
Description
Get the button identifier of the pressed button.
Declaration
MMI_GetButton( iButtonId AS Integer,
BYVAL lAllKeys
AS Logical )
Remarks
Waits until a valid key is pressed and returns the button Identifier
iButtonId
of the pressed button.
If
lAllKeys = FALSE
, the keys
ESC
,
ENTER
,
ON/OFF
or any
assigned button (added with
MMI_AddButton
) terminates this
function and the
iButtonId
of the pressed button is returned. If
lAllKeys = TRUE,
additional keys i.e. the cursor keys
terminates this routine too. For details see table below.
Note
This function relates to the currently active dialog.
Parameters
iButtonId
Out
The identifier of the pressed button. For
values of
iButtonId
see the table
below.
lAllKeys
In
Determines which keys exit the routine. If
lAllKeys = TRUE
any valid pressed
key exit the routine, otherwise only
normal ones.
Содержание tps1100
Страница 1: ...GeoBASIC FOR TPS1100 User Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 150: ...GeoBASIC FOR TPS1100 Reference Manual Version 2 10 1997 2001 Leica Geosystems AG Heerbrugg Switzerland ...
Страница 411: ...GeoBASIC Reference Manual 6 System Functions TPS1100 Version 1 30 6 7 6 5 35 CSV_LibCallAvailable 6 213 ...
Страница 620: ...TPS1100 Version 2 10 6 1 ...
Страница 621: ......
Страница 623: ...TPS1100 Version 2 10 6 1 ...
Страница 624: ......
Страница 1053: ...TPS1100 Version 1 30 E 1 Appendix E GEOFONT ...
Страница 1154: ...GeoBASIC Reference Manual Appendix J List of Predefined Identifiers TPS1100 Version 1 30 J 9 TMC_SetOffsetDist 6 128 ...