Hi Jon!

My standard procedure to clear the message window is to issue a
Print Chr$(12)
command.
This is abbreviated in MAPBASIC.DEF thus:
Define CLS                                      Print Chr$(12)

Not sure if it helps in your case, but if you need a button or menu command, you cold use this simple code.

Btw, can you tell me if the ability to save the message window contents to file is programmable in MapBasic?

Hälsning / Best regards Mats.E
________________________
FB Engineering AB
Södra Förstadsgatan 26
211 43 Malmö

Tel: 040-660 25 50
Mobil: 0705-27 60 27
Fax: 040-660 25 99
[EMAIL PROTECTED]
www.fbe.se



<[EMAIL PROTECTED]>
Sänt av: [EMAIL PROTECTED]

2006-06-27 12:19

Till
<[email protected]>
Kopia
Ärende
[MI-L] MapInfo V8.5 : Message Window : Strange text behaviour. bug         ?





Listers,

I've just installed MiPro V85. A new option is to copy texts from the message
window into (any) text processor / app. A good idea ...

But : Is there a way to clear the content of the Message window ?

(
The text seems to have strange behaviour when the window goes 'full'

I have an MB app which writes some statistics/results/log(/debug!) texts
using Print "..." -statements. The Message-window seems to be filled up at a
certain point, and from then on the output seems stacked in the opposite
direction, and not at the 'next line' at the bottom.

The copy/paste functionality is then not much meaningfull anymore.

I verify this by using the MB window and issue <Print "hello 1"> and then
<Print "hello 2"> , both after the point when the message window is full. The
text in the Message window then goes
...
hello 2
hello 1  
...  

Anyone seen this ? Anyone explain why ?
As stated, a "Clear"-function would help, if available.
)

Rgds

Jon Petter Nielsen
SWECO Grøner AS
+47 9759 6860

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to