Immediate scrolling text in a dialog box

From: Tony Senerchia <asenerchia_at_gmail.com>
Date: Wed, 23 Jun 2004 21:19:43 +0200

Hi, I'm a student trying to write a program to control an automated machine.

I want to post text into what is for the moment an editbox, and I want
the text to continue automatically to the next line. Thus, when a
function is performed, the text confirmation is written into this
field and displayed in the dialog box. In effect, the text will
continue as certain commands are executed, and thus the box will need
to scroll vertically.

The current situation is that one line of text is displayed and then
replaced by the following line of text. I want this text to continue
down the screen...

I would put the text into a string, but I don't know how to make it
continue onto the next line.
The only solution I can really come up with is to load the text into
an ACSII buffer each time that a new action is performed, and then
either paste that directly into the editbox or output it to a text
file and display that text file in the box. I would prefer the latter
of these two solutions, but I am not sure how I would do this. I read
something about a "Daily log" viewer, but I was not sure how I would
get that into the area of my editbox...

Any help is greatly appreciated!

Thanks in advance,

Anthony Senerchia
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Wed Jun 23 2004 - 12:21:18 PDT


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 08-Feb-2012. Archive updated nightly.