Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to simulate a trace window in a edit region?
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00226658
Message ID:
00235676
Views:
22
I am not sure what you are trying to do. Are you trying to simulate what VFP does if you have "SET TALK ON"?

If so you could try something like this...

DEFINE WINDOW output FROM 2,1 TO 13,75
activate window output
SET TALK WINDOW output
? "Copying File 1"

Another alternative would be to use a thermometer like the one from www.west-wind.com and just display "copying files..."

Another option would be to use a WAIT WINDOW

WAIT WINDOW "copying file 1" NOWAIT
WAIT WINDOW "copying file n" NOWAIT


>I have an edit region in a screen that I want to act as a trace window. I want to add text to the variable used in the edit region and be able to redisplay the end of it while adding text to the variable.
>
>for exemple:
>
>=Trace("Copying file #1")
>=Trace("Copying file #2")
>=Trace("Copying file #9120")
>...
>
>function Trace
>	parameters tcTxt
>	
>	lcTxt = lcTxt + tcTxt + chr(13)
>	show get lcTxt
>return
>
>My problem is: How to *automaticaly* show the added lines?
>Does anyone have an idea on how to do this?
>
>TIA.
Previous
Reply
Map
View

Click here to load this message in the networking platform