
GeoBASIC User Manual
8 — Typical GeoBASIC Programming
8-6 TPS1100-Version
2.10
8.2.3 Graphics
functions
After having created the graphics dialog, the graphics functions may be used. (E.g.
MMI_DrawLine
,
MMI_DrawCircle
,
MMI_DrawText
, etc. See the
"Reference Manual" for a detailed description.)
8.2.4
Deleting a dialog
When a dialog is not used any more it must be deleted. The name of the dialog
deletion procedure is for text, measurement and graphics dialogs the same:
MMI_DeleteDialog()
8.2.5
Mixing text and graphics dialogs
There can be only one text dialog at a time, i.e. an existing text dialog must be
deleted with
MMI_DeleteDialog
before a new one can be created with
MMI_CreateTextDialog
.
1
The same holds for a graphics dialog (with the
appropriate creation procedures).
But a graphics dialog may be opened while a text dialog is active. (Note: The
reverse is not the case: a text dialog may not be opened while a graphics dialog is
open.) If a text dialog and a graphics dialog are open, the graphics dialog has
priority, i.e. all future function calls are related to the graphics dialog (until it is
closed). For example,
MMI_AddButton
(see below) will add the button to the
graphics dialog, and all the display functions must be for graphic dialogs (such as
MMI_DrawCircle
, etc.).
8.2.6 Adding
buttons
The user may add buttons to a dialog. (These buttons will be added to the
defined
buttons
of the dialog.) When adding a button it must be specified what text should
be displayed for that button. Such a text can be up to five characters long and is
displayed centred above the button.
Each button has an identification associated. This button id is needed
1
An existing text dialog is deleted automatically if a new text dialog is created.
Содержание 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 ...