
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 2.10
6-33
Return-Codes
RC_OK
Successful termination.
BAS_NO_DLG_EXIST
No dialog exists for this operation.
See Also
MMI_PrintVal
MMI_InputInt
Example
The example uses the
MMI_PrintInt
routine to print the value
of
TestVal
in the first line on row 2 of the currently open text
dialog.
DIM TestVal AS Integer
TestVal = 1000
MMI_
PrintInt( 2, 0, 5, TestVal, TRUE )
6.1.22 MMI_InputStr
Description
Get a string input in a text dialog.
Declaration
MMI_InputStr( BYVAL iColumn
AS Integer,
BYVAL iLine
AS Integer,
BYVAL iLen
AS Integer,
BYVAL iMode
AS Integer,
sText
AS String30,
lValid
AS Logical,
iButtonId AS Integer )
Remarks
If
lValid = TRUE
the text string
sText
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 the length of the string exceeds
the given length
iLen
the string is truncated at position
iLen
.
After the edit process the string is returned and the text is placed
right aligned on the display. If the length
iLen <= 0
or no part
of the field is in the dialog area the Text is not edited and the
routine exits.
The string can be edited by pressing
α
EDIT
or a numerical key. If
iMode = MMI_DEFAULT_MODE
the keys
ESC
,
ENTER
,
Содержание 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 ...