Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh problem?
Message
 
 
To
17/09/1999 09:57:49
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00265469
Message ID:
00265885
Views:
16
>>I think you lost me. Are you sure that the textbox is in fact on the first page and not on the form itself.
>
>Yeah. I have a textbox on page1 and an edit box on page2 of the same pageframe. I want the user to be able to toggle focus between the two controls by hitting a function key. Everything works fine, except the text on whatever line the cursor is on (when the user hits the function key) gets left on the screen. It doesn't hurt anything--just looks rather bad.

Which version of VFP are you using. If VFP make sure you have SP3.

What is your code to jump to the other control? It should be something like.

* jump to editbox on page2
thisform.pageframe1.page2.editbox1.setfocus

* jump to textbox on page1
thisform.pageframe1.page1.textbox1.setfocus

In the activate of each page you could put THIS.REFRESH
Previous
Reply
Map
View

Click here to load this message in the networking platform