
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
2.10
6-38
6.1.24 MMI_InputInt
Description
Get an integer input value in a text dialog.
Declaration
MMI_InputInt( BYVAL iColumn
AS Integer,
BYVAL iLine
AS Integer,
BYVAL iLen
AS Integer,
BYVAL iMin
AS Integer,
BYVAL iMax
AS Integer,
BYVAL iMode
AS Integer,
iVal
AS Integer
lValid
AS Logical,
iButtonId AS Integer )
Remarks
If
lValid = TRUE
then the integer value
iVal
is placed on
position
iColumn
and
iLine
on the text dialog. Illegal co-
ordinates are adjusted. If the length
iLen
≤
0
or no part of the
field is in the dialog area the value is not edited and the routine
exits.
The integer value within the bounds
iMin
and
iMax
can be
edited by pressing
EDIT
or the numerical block keys. If
iMode
= MMI_DEFAULT_MODE
the keys
ESC
,
ENTER
,
ON/OFF
or any
user defined button (added with
MMI_AddButton
) terminates
the edit process and the
iButtonId
of the pressed button is
returned. If
iMode = MMI_SPECIALKEYS_ON
additional keys
i.e. the cursor keys terminates
MMI_InputInt
too.
Note
A text dialog must already exist.
Parameters
iColumn
in
The horizontal position (0..28).
iLine
in
The vertical position (0..number of
lines defined with
MMI_CreateTextDialog).
iLen
in
The length of the value plus the sign.
iMin
iMax
in
The lower and upper bounds.
Содержание 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 ...