
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
2.10
6-16
'Create the button supported in this menu
MMI_AddGBMenuButton(iMenu, MMI_F5_KEY, "EXIT ")
' show and execute menu
MMI_SelectGBMenuItem(iMenu, "TEST",
iSelection, iButton)
SELECT CASE iSelection
CASE 1 ' Polygon
'
...
CASE ELSE
MMI_BeepAlarm()
END SELECT
MMI_DeleteGBMenu(iMenu)
6.1.7 MMI_CreateGBMenuItemStr
Description
Creates an item with a variable string in an existing menu.
Declaration
MMI_CreateGBMenuItemStr(
BYVAL iMenuId
AS Integer,
BYVAL sMenuItemName AS sLine,
BYVAL sHelpText
AS _Token )
Remarks
This routine adds one menu item to an existing menu
iMenuId
.
This item will be displayed as the last item. The menu must be
created with
MMI_CreateGBMenuStr
.
sMenuItemName
need not be constant, it can be generated during the execution of
the program.
Parameters
iMenuId
in
Menu identifier
sMenuItemName
in
Displayed text
sHelpText
in
Help text; only visible if the help
functionality of the theodolite is
enabled
Return-Codes
RC_OK
Successful termination.
BAS_MENU_
ID_INVALID
Bad
iMenuId
Содержание 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 ...