Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe activepage
Message
 
 
À
19/02/2010 03:36:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
01449866
Message ID:
01449895
Vues:
48
>>Hi,
>>
>>I am trying to stop user to go to another page when he has not filled in one of the text box in the current page. I wrote some code at the activate events of other page like if (textbox value) is empty, pgframe.page1.activate but it is not working.
>>
>>Can somebody give me idea ?
>>
>>Thanks in advance.
>
>Write the code in the Deactivate event of the page with the textbox
>
>
>&& eg Page1.deactivate
>
>if( empty( m.this.textbox1.value) )
>    NODEFAULT
>    return .f.
>endif
>
Unfortunately, there is a problem with this approach if I recall. I need to find an older thread of mine where we were trying to solve this same problem.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform