
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
1.30
6-36
Example
The example uses the
MMI_InputStr
routine to get the text
string
sInputString
in the first line on row 2 of the actual text
dialog.
DIM sInputString AS String30
DIM iButton
AS Integer
DIM lValid
AS Logical
sInputString = "The input text"
lValid = TRUE
MMI_
InputStr( 2, 0, 20, MMI_DEFAULT_MODE,
sInputString, lValid,iButton )
6.1.23 MMI_InputVal
Description
Get a numerical input for double values in a text dialog.
Declaration
MMI_InputVal( BYVAL iColumn
AS Integer,
BYVAL iLine
AS Integer,
BYVAL iLen
AS Integer,
BYVAL iDecimals AS Integer,
BYVAL dMin
AS Double,
BYVAL dMax
AS Double,
BYVAL iMode
AS Integer,
dVal
AS Double,
lValid
AS Logical,
iButtonId AS Integer )
Remarks
If
lValid = TRUE
then the value
dVal
is placed on position
iColumn
and
iLine
on the text dialog, otherwise the symbols
for invalid values are displayed. Illegal co-ordinates are adjusted.
If
iMode = MMI_DIM_ON
, a dimension field is automatically
displayed when the type of
dVal
has units. 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 value within the bounds
dMin
and
dMax
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
Содержание 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 ...