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:
00521693
Views:
12
>>>>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)
>
>Yep. Thanks for filling in what I didn't, Nick.

Thanks for the help. SetViewPort did the trick.
And the ViewPortxxxxx properties will be very usefull.
- jim durkin

"The universe is a big place, perhaps the biggest." Kurt Vonnegut
Previous
Reply
Map
View

Click here to load this message in the networking platform