Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show first line in selft-expanding editbox after lostfocus
Message
From
01/05/2002 14:57:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Show first line in selft-expanding editbox after lostfocus
Miscellaneous
Thread ID:
00651494
Message ID:
00651494
Views:
68
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
Next
Reply
Map
View

Click here to load this message in the networking platform