Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh problem?
Message
 
À
17/09/1999 09:57:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00265469
Message ID:
00265885
Vues:
17
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform