Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual class design and member classes
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Visual class design and member classes
Miscellaneous
Thread ID:
00774329
Message ID:
00774329
Views:
45
I'm trying to create a wizard class in VFP 8.0.

I began by subclassing a Page class and adding the properties and methods that I wanted.

However, as I try to implement my new Page class as the member class of a PageFrame, I find that I can never get rid of the 2 initial pages that are from the VFP base class.

The problem is that our whole development team will be using this wizard class (once it's finished). It seems a bit clunky to tell them, "If you need 5 pages for your wizard, then set the PageFrame's pages to 7 and don't use the first 2 pages of the page frame."

Is there a way to ensure that all the pages of a PageFrame will be from my Page class ... even at design time!

(I do realize I can remove the first two pages at runtime, but like I said, that could cause problems too if a developer doesn't realize the pages will be deleted as he's designing his form.)

Thanks for your help!
Next
Reply
Map
View

Click here to load this message in the networking platform