Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding activepage method after programatically adding pa
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941139
Message ID:
00941168
Views:
9
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform