
GeoBASIC Reference Manual
6. System Functions
TPS1100-Version
2.10
6-48
Example
The example uses the
MMI_WriteMsgStr
routine to display a
message box with the title text “
Warning
“ and the text:
MessageStr
time out in 10 seconds
and shows the buttons “
Retry
“, “
Abor
t“ returning the button-id
in
iRetKey
.
CONST
iTimeOut
AS Integer = 10
DIM
sMessage
As String255
DIM
iMBRetKey AS Integer
sMessage =
"MessageStr\d010time out in " +
Str$(iTimeOut) + "seconds"
MMI_
WriteMsgStr( "Warning", sMessage,
MMI_MB_RETRY_ABORT,iMBRetKey )
6.1.29 MMI_DrawLine
Description
Draw a line.
Declaration
MMI_DrawLine( BYVAL iX1
AS Integer,
BYVAL iY1
AS Integer,
BYVAL iX2
AS Integer,
BYVAL iY2
AS Integer,
BYVAL iPen AS Integer )
Remarks
The function draws a line within the graphic field using the line-
style
iPen
.
Note
A graphics dialog has to be set up before.
Parameters
iX1
in
x-co-ordinate of the beginning of the line [pixel]
iY1
in
y-co-ordinate of the beginning of the line [pixel]
iX2
in
x-co-ordinate of the end of the line [pixel]
iY2
in
y-co-ordinate of the end of the line [pixel]
Содержание 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 ...