
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 1.30
6-13
Note
Before terminating a GeoB
ASIC
program, all menus must
be deleted.
The
GeoB
ASIC
menus system has the following
limitations:
The maximal number of menus for a GeoB
ASIC
program
is 5.
The maximal number of items / menu is 49.
The maximal number of items over all menus plus menus
is 254.
Parameters
sMenuName
in
The caption of the menu.
iMenuId
out
Returned menu identifier. It is the
handle for using this menu.
Return-Codes
RC_OK
Successful termination.
MMI_NOMORE_
MENUS
No more menus available
See Also
MMI_CreateGBMenuItem, MMI_DeleteGBMenu,
MMI_SelectGBMenuItem, MMI_AddGBMenuButton
Example
The example creates a menu with a button. For a complete
example see sample program
MENU.GBS
CONST MHELP = "Help for measurement type...."
DIM iMenu
AS Integer ' menu identifier
DIM iSelection AS Integer ' selected item
DIM iButton
AS Integer ' used button
'Create main menu
MMI_CreateGBMenu("MEASUREMENT TYPE", iMenu)
Содержание 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 ...