Simple(?!) GUI Editbox question.



I have a multi-line editbox, with a scrollbar in a GUI, made
with GUIDE.

I can create new lines in the edit-box by pressing return
when I am entering data, but I don't know how to do this if
I am using the set command.

For example, at the moment I have this:
set(edit1, 'String',TheCurrentResults);

Obviously, if I run this command again with a different
variable, it will overwrite whatever is in the editbox at
the time. As this is running from within a loop, all I ever
see is the final result, which isn't very helpful.

Instead what I would like to do is make new line, and then
add the results there, keeping the previous results on the
line above.

As I see it I have two options,

1. Some how appending the next set of results to the next
line 1-by-1, without deleting what is currently there.

2. Add all the results to a long string and then do one
single set() operation at the end.


The problem is that I don't know and can't find any append
options, and also the new line (\n) command doesn't seem to
work with the second method!

Can anyone help? This is really annoying! Thanks very much!
.



Relevant Pages

  • Simple(?!) GUI Editbox question.
    ... I have a multi-line editbox, with a scrollbar in a GUI, made ... I can create new lines in the edit-box by pressing return ... I am using the set command. ... Some how appending the next set of results to the next ...
    (comp.soft-sys.matlab)
  • ON KEY LABEL command within a form
    ... appending the record to do a command like THISFORM.Refresh. ... how do I refresh the screen after running an ON KEY LABEL ...
    (microsoft.public.fox.vfp.forms)
  • Re: Simple(?!) GUI Editbox question.
    ... if you want to use '\n', pls use 'sprintf' or use ascii(\n ... if I run this command again with a different ... Some how appending the next set of results to the next ... single set() operation at the end. ...
    (comp.soft-sys.matlab)
  • Re: pkg_fetch argument syntax question
    ... Francis Litterio writes: ... > The following command line arguments are supported: ... > But it doesn't say what appending a '@' to the package name means. ...
    (freebsd-questions)
  • Re: File copy
    ... task would appear to be much earier. ... of the .cvs files and read the record contained in each. ... a new file by appending all others to one file, then DOS's Copy command ...
    (microsoft.public.vb.general.discussion)