Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page height Property Problem
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00802415
Message ID:
00802609
Views:
22
>Hi Fred
>
>Here is the repo code:
>
>lo=CreateObject("pgStd")
>
>? PEMStatus(lo,"Height",5)
>
>.T.
>
>The pgStd class is simply a subclass of the VFP page class with no modifications. The pemstatus return .T. for the height property. If you look in the vcx file you will see that there is a height property. I guess it is used by the class designer and delibrately hidden.
>
>If you simply create a pageframe and set the pagecount to some number greater than 1 you do not get the problem. It only happens with the member class set to a custom page class.
>
>The reason I use the Height property is because I want to treat a page exactly the same as other objects. I am aware of the potential problem of using reserved words but this is a delibrate decision.
>
>Simon


Sorry, I still don't see that. I only see a Height property on the PageFrame, not on the Page object. Even if I subclass it, I still don't see a page.Height property at all.

Could you possibly be confused on what your object is?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform