General information
Title:
Visual class design and member classes
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only