Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox focus event
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00521645
Message ID:
00521657
Views:
18
>>Is there anyway to tell if a textbox object is off the form when the form is resized? And can I scroll the form to the textbox that received focus?
>>
>>- jim durkin
>
>Jim,
>
>The top property (or left) will be greater than the height (or width) of the form.


And you can set form.scrollbars = 3 (or another appropriate value) you will be able to scroll the form. Or you can automate the form scrolling to that textbox with

form.SetViewPort(nLeft, nTop)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform