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)
>>?_SCREEN.colTest.Height
>>_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.
OffThere is no place like [::1]