
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version 1.30
6-47
Return-Codes
RC_OK
Successful termination.
BAS_NO_DLG_EXIST
No dialog exists for this operation.
Example
The example uses the
MMI_WriteMsg
routine to display a
message box with the title text “
Warning
“ and the text “
timed
out
“ and shows the buttons “
Retry
“, “
Abor
t“ returning the
button-id in
iRetKey
.
MMI_
WriteMsg( "Warning", "timeout",
MMI_MB_RETRY_ABORT, iMBRetKey )
6.1.28 MMI_WriteMsgStr
Description
Output to a message window.
Declaration
MMI_WriteMsgStr( BYVAL sText
AS String255,
BYVAL sCaption AS _Token,
BYVAL iMsgType AS Integer,
iRetKey
AS Integer )
Remarks
The function opens a message window on the display, which
shows the text specified by
sText
. Lines, which are too long to
fit into the window, are split automatically.
sText
may contain a
carriage return (character code 10) which breaks a line explicitly.
The predefined constants
MMI_INVERSE_ON
and
MMI_INVERSE_OFF
can be used for inverse text.
Text lines, that exceed the size of the window, are not displayed.
A title text, which will be printed on the first line of the message
box, can be set with
sCaption
, which may not be longer than
one line and contain neither font attributes nor type information.
Note
This routine is different to
MMI_WriteMsg
in such a
way that
sText
may be computed. But, of course,
sText
will not be entered into the text token data base.
Parameters
sText
in
Text string to be displayed in a message
box.
Содержание 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 ...