Edit box skips empty lines
Edit box skips empty lines
In the below image you'll notice at the moment z == 2 which is a dependent on the ControlGet, , Line, N feature...This line in the editbox is blank however, the fact it is blank still provides text. Instead of returning a value of line 2 it gives line one.. But, even more curious is it skips all blank lines (of course if I place the editbox contents in a file the blank line is there). For anyone who might want to be using editbox for their project.
- Attachments
-
- Capture.PNG (89.41 KiB) Viewed 553 times
Re: Edit box skips empty lines
I have figured out a simple solution... Simply put in a if statement.
Code: Select all
if (rowtext == "")
{
; this line is now empty and we all know it.
}
Return to “Tips and Tricks (v1)”
Who is online
Users browsing this forum: No registered users and 7 guests