-
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
-
If i understood your question, you have to turn off the MULTILINE in the properties of that textbox
WP
-
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.
-
Set MultiLine to True and the Scrollbar property to 2 - Vertical.
By only showing the vertical scrollbar the TextBox will automatically wrap the text.