Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize a pageframe
Message
From
10/06/2003 16:30:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Resize a pageframe
Miscellaneous
Thread ID:
00798612
Message ID:
00798612
Views:
55
I could use some help with resizing container objects such as a pageframe. Suppose I subclass the foundation classes and create my own version of the pageframe. ie Donspageframe. Then I add init code in each of the 2 default pages to resize them upon startup.

thisform.resizeobject(this)

This works just fine if the pageframe has only 2 pages, but in the application it will have more. The additional pages do not inherit the code I added to the default 2 pages. There does not seem to be a way to edit the default pages that make up the pageframe beyond the first 2.

I have the same problem with grids. If additional columns and headers are added there doesn't seem to be a way to set up the inheritance.

I have a feeling that some code using with.controls might do the trick, but I'm not quite sure how to get it done.

Thanks in advance for any suggestions.

btw - I'm using VFP 7.0

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform