Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting tabs from a page frame
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00122191
Message ID:
00122340
Views:
18
Steve,

In your baseclass pageframe, optiongroup and commandgroup set the number of child objects to 0. This will allow you to freely subclass them, and allow you to set the number of child objects when you drop one of them onto a form.

The others answered how you can delete them at runtime, but there is some potential for the object to break if your other code refers to the child object that you removed.

>I have a form with a pageframe on it that I am using as a base class for all of my data entry forms. the pageframe has 3 pages on it. My problem now is that not all of my forms need all 3 pages and I can't figure out how to get rid of the pages. Anyone have any suggestions on how I delete or make them invisible at design or run time?!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform