General information
Category:
Forms & Form designer
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only