
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 2.10
6-13
'Create menu items - all items use
'
the same help text
MMI_CreateGBMenuItem(iMenu,
"Polygon", MHELP)
MMI_CreateGBMenuItem(iMenu,
"Border point", MHELP)
MMI_CreateGBMenuItem(iMenu,
"Situation point", MHELP)
'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.5 MMI_CreateGBMenuItem
Description
Creates an item in an existing menu.
Declaration
MMI_CreateGBMenuItem(
BYVAL iMenuId
AS Integer,
BYVAL sMenuItemName AS _Token,
BYVAL sHelpText
AS _Token )
Remarks
This function adds one menu item to an existing menu
iMenuId
.
This item will be displayed as the last item.
Parameters
iMenuId
in
Menu identifier
sMenuItemName
in
Displayed text
sHelpText
in
Help text; only visible if the help
functionality of theodolite is enabled
Return-Codes
Содержание 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 ...