Simple(?!) GUI Editbox question.
- From: "dave " <davesmith@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 20:00:17 +0000 (UTC)
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!
.
- Prev by Date: Re: Creation of simple HF filter...
- Next by Date: Simple(?!) GUI Editbox question.
- Previous by thread: Ugly axis labels on Mac
- Next by thread: Simple(?!) GUI Editbox question.
- Index(es):
Relevant Pages
|