|
|
|
Page 1 of 1 |
[ 2 posts ] |
|
 Please add a Multiline Edit Box property : Developer's Corner
|
|
Posted: March 10th, 2003, 2:20 pm
|
|
|
|
Darkness
Darkness's Reps:
|
Hi WyvernX,
can you add a property to the
Edit box to make it ready for
Multiline ?
TextBox1.Multiline = True
I want send a multiline ASCII file
to a Editbox but no return, only 2
signs
|
|
|
|
|
Posted: March 11th, 2003, 8:01 am
|
|
|
|
WyvernX
WyvernX's Reps:
|
I am waiting on that as well for my scripting plugin.
There are two workarounds.
1. Make the edit box BIG. So that your text will wrap around. It will not allow scrolling if your text wraps around beyond the bottom of the edit box. But you can have a big edit box that can hold lots of lines of code. So if your string is "This is a test. It is a very long test, and should be on seperate lines." It will look like the following:
"This is a test. It is"
"a very long test, and "
"should be on seperate "
"lines. "
... in the edit box.
2. Another solution is (until multiline is working) to have multiple edit boxes. Behind the scenese, do a function that will parse the string and break it down into multiple boxes. So if your string is "This is a test. It is a very long test, and should be on seperate lines." The function will draw the following:
Line1="This is a test. It is"
Line2="a very long test, and "
Line3="should be on seperate "
Line4="lines. "
Line5=<Page Up> <Page Down> <-- These are buttons.
The page up button access the function to reformat the lines with a different line of text.
It is not great, but it can get you around the multiline issue until it is fixed.
|
|
|
|
|
Who is online |
|
Users browsing this forum: No registered users and 6 guests |
|
|
|