
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 2.10
6-27
Parameters
iButtonId
in
Identifier of the button to be added. See for
the values that can be used for the
iButtonId
under the routine description
MMI_GetButton
. Only
MMI_F1_Key..MMI_F5_KEY,
MMI_SHF2_KEY..MMI_SHF6_KEY
and
MMI_CODE_KEY
are available for the
AddButton
routine.
sCaption
in
The text placed onto the button, left
alignment (max. 5 characters).
Return-Codes
RC_OK
Successful termination.
BAS_NO_DLG_EXIST
No dialog exists for this
operation.
MMI_BUTTON_ID_EXISTS
This button has been defined
already.
See Also
MMI_GetButton, MMI_CheckButton,
MMI_DeleteButton
Example
The example uses the
MMI_AddButton
routine to add the
F2-
KEY
with the caption "EXIT" to the dialog.
MMI_
AddButton( MMI_F2_KEY, "EXIT" )
6.1.17 MMI_DeleteButton
Description
Delete a button from a dialog.
Declaration
MMI_DeleteButton( iButtonId AS Integer )
Remarks
The
routine
MMI_DeleteButton
deletes the button with the
Identifier
iButtonId
from the actual dialog. Only a button that
was added with
MMI_AddButton
can be deleted. Closing the
dialog with
MMI_DeleteDialog
deletes all buttons attached to
this dialog.
Содержание 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 ...