I have a TextBox with 3 visible lines and 0 extra lines. I want avoid that when the user has written the third lines and press the return key, the textbox create a new line and the existing lines shift up. How can I do it ? ThankYou.
I will create a callback for the textbok and monitor the EVENT_KEYPRESS event: when the third line is reached and Enter key is pressed, I'll swallow the keyboard event (return 1) to avoid updating the control.