Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setfocus
Message
De
04/11/2004 04:53:48
 
 
À
04/11/2004 04:31:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
00957987
Message ID:
00957990
Vues:
9
>hi all,
>
>i'll try with this code under,but if the answer is rong
>it must setfocus to thisform.pageframe1.page1.text3.value,but i can't see where is the cursour at myform.
>
>DO CASE
>   CASE NOT BETWEEN(thisform.pageframe1.page15.text3.value,1,2)
>           =MESSAGEBOX("rong choises")
>              thisform.Pageframe1.ActivePage = 15
>              thisform.pageframe1.page15.text3.SetFocus  &&&
>
>   OTHERWISE
>           thisform.Pageframe1.ActivePage = 14
>            thisform.Pageframe1.Page14.Text1.SetFocus()
>ENDCASE
>
>
>thanks.
>m.qasem

Instead of using:
thisform.Pageframe1.ActivePage = 15
try using
thisform.Pageframe1.Pages(15).SetFocus()
HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform