Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Terminal Type Display

Status
Not open for further replies.

Riegg

Programmer
Mar 20, 2003
29
CA
I am trying to make a terminal display within a dialog box. The best I can come up with is stacking editbox's one on top of another and grabing the data from the RX/TX buffer one line at a time to the boxes.

What I am trying to do is make a GUI for Motorola iDEN base radios. 1/4 of the dialog box will be for the "terminal" the rest will be for automated tests and "meta keys". The "terminal" will be used to see the commands being issued from the "meta keys" and the response from the radio. I would like to also incorparate some form of scrollback buffer.

Thanks for any and all help.

mark.riegg@telus.com
 
You can use `n and `r (that's a backtick, not an apostrophe) to force line breaks in one editbox. However, one problem you'll run into quickly is that an ASPECT string contains a maximum of 255 characters.

I don't see an easy way to implement this in ASPECT. You won't be able to have much of a scrollback buffer since you're limited to 255 characters.

One thing you could try doing is writing the information to a file, then displaying the contents of that file using the ftext command.
aspect@aspectscripting.com
 
Thanks that's what I thought. If/when I come up with something good I will post it here.

Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top