
GeoBASIC User Manual
9 — Refined GeoBASIC Concepts
9-6 TPS1100-Version
2.10
9.3.2
Import the program in a User Configuration
The TPS1100 series theodolites support the concept of individual configurations.
In a configuration the user can define his own dialogs or menus and link them to
certain events (i.e. pressing the PROG key or Power ON). If the event occurs then
the linked dialog or the menu will be displayed. The user can create and change his
configuration on the PC with the Customisation Tool.
The import of a GeoBASIC program in a user configuration means, that an
external GeoBASIC routine is linked with an item of a user defined menu, a button
of a user defined dialog or directly with an event. If either the event occurs or the
button is pressed or the menu item is selected, then the linked external routine is
executed. For the import of a GeoBASIC program the Customisation Tool needs a
special file named APPInfo-file with the necessary information about the program.
The usage of the APPInfo-file in the Customisation Tool:
•
Start the Customisation Tool
•
Open a configuration file, appropriate text- and definition files
•
Choose Import Application from the file menu
•
Check the box named with the program name (i.e. AppInfoExample)
•
Press the OK button
Now the globally accessible subroutines may be added to menus, buttons, etc.
simply by using drag and drop.
Generate the AppInfo-file
The AppInfo-file is automatically generated during compilation, if there is a
application information (short AppInfo) section in the GeoBASIC source file.
Note
The AppInfo-section has to occur at the end of the source code. The
AppInfo-section is optional; if there is no AppInfo-section in the
GeoBASIC source file, the AppInfo-file generation is omitted. The
global routine “
Install
“ is optional, since any global routine may be
associated with a menu entry, using the AppInfo-file via the
Customisation Tool.
The following GeoBASIC sample code illustrates the usage of the AppInfo-section
in a GeoBASIC source file. See also the sample program
AppInfoTest.gbs
.
Содержание 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 ...