Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe activepage
Message
 
 
À
22/02/2010 09:03:17
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:
01450207
Vues:
49
>>>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.
>>
>>I think we were achieving this functionality by using NODEFAULT in Page.Activate if it was not the last active page.
>
>Or couldnt he like...put the "stopping code" if textbox.empty in the button or whatever he is using to load the form.Most likely a button right?so deactivate the button till this.x has a vaule

Right, but it would not prevent switching to a new page and this was the main intent.

But I'm happy that you already started to help other people with your ideas!
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