|
-
May 9th, 2005, 09:28 AM
#1
A simple question about text
Hi guys
A very simple question.
I have got a form with a text box control.
When the program is in execution and I write into the text box I want that when the cursor arrives at the end of the text box, automatically starts a new paragraph unless make operations on the characters
Can you help me?
Is there a property that I have to set?
I have tried multiline and want return but it does not work
Thanks in advance!
-
May 9th, 2005, 09:36 AM
#2
Re: A simple question about text
 Originally Posted by elektroman
I have got a form with a text box control.
I have tried multiline and want return but it does not work
Why don't you use a RichEditCtrl?
Regards
John
I don't mind that you think slowly but I do mind that you are publishing faster than you think. Wolfgang Pauli, physicist, Nobel laureate (1900-1958)
-
May 9th, 2005, 09:48 AM
#3
Re: A simple question about text
I try to use it but the program does not start neither
-
May 9th, 2005, 10:09 AM
#4
Re: A simple question about text
If its a dialog application, or in your case a Form, add the following to your OnInitDialog method, otherwise add to your InitInstance method :
Regards
John
I don't mind that you think slowly but I do mind that you are publishing faster than you think. Wolfgang Pauli, physicist, Nobel laureate (1900-1958)
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
|