
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 1.30
6-11
6.1.3 MMI_CreateMenuItem
Description
Creates a system menu item on the Theodolite menu to establish
the invocation of a GeoB
ASIC
application.
Declaration
MMI_CreateMenuItem(
BYVAL sAppName
AS String,
BYVAL sFuncName AS String,
BYVAL iMenuNum
AS Integer,
BYVAL sMenuText AS _Token )
Remarks
The
CreateMenuItem
creates a menu item in a system menu
with the text
MenuText
on the chosen entry point
MenuNum
in
the menu-system. By clicking the new menu item on the
Theodolite, the subroutine with the name
FuncName
in the
Program
AppName
will be executed. The number of applications
which can be loaded at a time are limited to 25. The maximum
number of entry points over all applications (C and GeoB
ASIC
applications) is 50. All GLOBAL declared subroutines count as
entry points. Be aware of the fact that the interpreter and a
possible Coding function also count for the number of application.
The same is true for any C-application which has been loaded onto
the TPS.
Note
The subroutine denoted in sFuncName must be declared
as
GLOBAL
.
The intended use for this procedure is during the
installation phase only!
Parameters
sAppName
in
The name of the program where the
function or subroutine is defined.
sFuncName
in
The name of the global function or
subroutine to be called.
iMenuNum
in
Defines in which menu the menu-entry is
generated. There are three possible menus
where a menu item can be added. For
multiple menu items the menus can be
combined with ‘+’-operator.
Содержание 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 ...