|
Home > Archive > dBASE Programming > April 2004 > free streaming window
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
free streaming window
|
|
| Dan Anderson 2004-04-26, 4:36 pm |
| db+ I would like to include a window on a form that allows me to see
information stream as it is processing, much like the window below the
Command Window in the IDE. How can I do that?
--
Dan Anderson
UBI Processing Dept.
andersond@ubinc.com
800-444-4824 ext 101
| |
| David Stone 2004-04-26, 5:36 pm |
| On Mon, 26 Apr 2004 16:36:10 -0400, "Dan Anderson"
<andersond@ubinc.com> wrote:
>db+ I would like to include a window on a form that allows me to see
>information stream as it is processing, much like the window below the
>Command Window in the IDE. How can I do that?
Dan,
An editor will work--- just replace the editor contents with whatever
output you want, concatenating each new line of output with something
like this:
form.ed1.value += newstuff + chr(13)
You may have to force a redraw of the form for each new line.
Let me know if you have trouble...been a while since I did this sort
of thing, but I may be able to it dig up an example.
David
| |
| Dan Anderson 2004-04-26, 5:36 pm |
| In other words, you are saying that if I start my program with SET TALK ON
it will stream in that editor just like it does in the IDE? That's what I
want it to do.
--
Dan Anderson
UBI Processing Dept.
andersond@ubinc.com
800-444-4824 ext 101
"David Stone" <dlstone@wholegrain.com> wrote in message
news:hbpq809vm54aba4p2p8hc4b4pdn2kgkuni@
4ax.com...
> On Mon, 26 Apr 2004 16:36:10 -0400, "Dan Anderson"
> <andersond@ubinc.com> wrote:
>
>
> Dan,
>
> An editor will work--- just replace the editor contents with whatever
> output you want, concatenating each new line of output with something
> like this:
>
> form.ed1.value += newstuff + chr(13)
>
> You may have to force a redraw of the form for each new line.
>
> Let me know if you have trouble...been a while since I did this sort
> of thing, but I may be able to it dig up an example.
>
> David
| |
| Bowen Moursund [dBASE Inc.] 2004-04-26, 5:36 pm |
| > In other words, you are saying that if I start my program with SET TALK ON
> it will stream in that editor just like it does in the IDE?
No.
You might be able to use SET ALTERNATE with SET TALK ON and save output to a
file which you use to periodically update an editor object.
--
Bowen Moursund [dBASE Inc.]
|
|
|
|
|