Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection and Height property
Message
From
22/01/2004 05:23:30
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00868869
Message ID:
00869411
Views:
14
David,
yes this seems to be the reason. I my eyes PEMSTATUS give a wrong result. The other way to check an object using AMEMBERS does not list proerties either.

Agnes
>Agnes,
>
>Any class that can be visually subclassed has to support the Top, Left, Height and Width properties for the class designer to be able to work with the class. So they are defined, but effectively hidden from actual use. It would be best if pemstatus(,,[2,3]) would return .t. but it doesn't.
>
>>I run into following problem.
>>The COLLECTION class does not own HEIGHT and WIDTH.
>>PEMSTATUS returns that there is a property HEIGHT
>>
>>Code to reproduce:
>>
>>_SCREEN.NewObject('colTest','collection')
>>?PEMSTATUS(_SCREEN.colTest,'Height',5) &&Returns .T.
>>?_SCREEN.colTest.Height                &&ERROR1734
>>_SCREEN.RemoveObject('colTest')
>>
>>
>>Is this a known problem?
>>Can you reproduce?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform