
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 2.10
6-11
valid menus
meaning
MMI_MENU_PROGRAMS
Add to menu
„
Main menu
“
MMI_MENU_PROGMENU
Add to „
PROG
“
- Key menu
MMI_MENU_AUTOEXEC
Add to menu
„
Autoexec
“
sMenuText
in
The text of the menu-entry which should be
displayed on the Theodolite.
Return-Codes
RC_OK
Successful termination.
Note
Since this procedure will be called during installation
phase you do not have the possibility to do any error
handling. Only the loader will report an error which may
be caused by an erroneous call.
Example
The example uses the
MMI_CreateMenuItem
routine to create
a menu entry named "
START THE PROGRAM
" under the main
menu. The function "
Main
" in the GeoB
ASIC
program
"
ExampleProgram
" will be called when this menu item is
selected.
MMI_CreateMenuItem( "ExampleProgram", "Main",
MMI_MENU_PROGRAMS,
"START THE PROGRAM" )
6.1.4 MMI_CreateGBMenu
Description
Creates
a
menu.
Declaration
MMI_CreateGBMenu(
BYVAL sMenuName
AS _Token,
iMenuId
AS Integer )
Remarks
This routine creates an empty menu and the caption
sMenuName
. The function
MMI_CreateGBMenuItem
adds
items to a menu.
Содержание 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 ...