I have a self-expandig editbox control in form.
In gotfocus event , I increase its height to two lines.
User types two or more lines of text to a editbox control
and presses Tab key to move to the next control (grid in my case) in form.
In lostfocus event, I decrease editbox height back to one line.
Unfortunately, editbox control displays the last line after losing focus.
I need that editbox control displays first line.
Is it possible to put some code to lostfocus event to rewind editbox
control back to beginning or is there some other solution
to rewind it to first line after losing focus ?
Andrus