Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe tabs removing
Message
From
04/01/2001 14:45:16
 
 
To
04/01/2001 01:44:35
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00459237
Message ID:
00459487
Views:
17
>I created a app including a pageframe. I then add additional pages to the pageframe. Now i want to condemn the first page created when dropping the pageframe on the form. I get message cannot remove because some are part of a parent class. Is there any way to delete the tab that is now dissused
>
>Any help would be appreciated

You could do this: At design time, set the first page's PageOrder property to the PageCount - e.g., if there are 7 pages, set pageframe.page1.pageorder = 7. This gets it out of the way for development.
To then remove it at run time, in the pageframe.page1.Init() event, put Return .F.

If I may ask, why did you not just use the first page in the superclass as the first page for your class? I'm not saying you didn't have a good reason, but I am curious.

HTH
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform