Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding activepage method after programatically adding pa
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00941139
Message ID:
00941168
Vues:
8
Create a method in the form i.e. _PageEvent, code in it what You want to do when the Activate of the page occurs

After additing the page You can Use:
 thisform.my_pf1.PageCount=thisform.my_pf1.PageCount+1
 thisform.gotodetail_page = thisform.my_pf1.PageCount 
 newpage = "thisform.my_pf1.Page"+TRANSFORM(thisform.gotodetail_page) && Or retreive the name of the page some other way
 BINDEVENT(&newpage, "Activate", thisform,"_PageEvent", 0) && For last parameter read the help
Don't forget to UNBINDEVENTS() If You remove that page.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform