
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
2.10
6-40
6.1.25 MMI_InputList
Description
Shows a list field in a text dialog.
Declaration
MMI_InputList(
BYVAL iColumn
AS Integer,
BYVAL iLine
AS Integer,
BYVAL iLen
AS Integer,
BYVAL iElements AS Integer,
BYVAL iMode
AS Integer,
List
AS ListArray,
iIndex
AS Integer,
lValid
AS Logical,
iButtonId AS Integer )
Remarks
If
lValid = TRUE
then a list field is placed on position
iColumn
and
iLine
on the text dialog. Too long list elements
are truncated, illegal co-ordinates are adjusted. The
ListArray
is an array of
String30
with
LIST_ARRAY_MAX_ELEMENT
Elements. Only the first
iElements
are displayed. The value of
iIndex
defines which element is shown first.
The list can be edited by pressing
F6
(
LIST
). With the cursor
keys
UP
and
DOWN
a field element can be selected. If the list
elements are numbered (begins with a number), then the elements
can be selected directly by pressing numerical buttons. 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_InputList
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 displayed length of the list
elements.
Содержание 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 ...