Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show first line in selft-expanding editbox after lostfoc
Message
 
To
01/05/2002 14:57:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00651494
Message ID:
00651499
Views:
12
Hello Andrus

The easy way I think would be to put in the valid event and not the lost focus event
KEYBOARD '{CTRL+HOME}'
let me know if that doesn't work

>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 ?
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform