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
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