Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframe activepage
Message
De
22/02/2010 09:17: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:
01450211
Vues:
57
>>>>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!
lol why woudnt it stop from going to a page
the button has the code do form test

and in the refresh on the form ( the form being the form with the button to the next form)
u could have the code not too activate the button that calls the next form UNLESS the given criteria is met
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform