|
-
Aug 30th, 2000, 04:03 AM
#1
Thread Starter
Hyperactive Member
I want to allow the user to key in text into a textbox, if the text is too long, then it will wrap to another line and then a scroll bar displayed (it seems Delphi is like that). But I am not going to use Ctrl-Enter, since that will embed a CHR(10) in the data which I cannot save to DB.
So, is this possible...how?
Thanks
-
Aug 30th, 2000, 04:08 AM
#2
Hyperactive Member
If i understood your question, you have to turn off the MULTILINE in the properties of that textbox
WP
-
Aug 30th, 2000, 04:13 AM
#3
Thread Starter
Hyperactive Member
If the multiline is false, and I key in more characters than the width, then the text will just shift left. Instead, I want it to wrap to next line.
If I just multiline is True, sure I can switch to next line (by pressing Ctrl-Enter). But that will have the CHR(10) inside.
What I want to do is look like multiline is True, without manually press Ctrl-Enter and NO CHR(10) inside.
-
Aug 30th, 2000, 05:20 AM
#4
Set MultiLine to True and the Scrollbar property to 2 - Vertical.
By only showing the vertical scrollbar the TextBox will automatically wrap the text.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|