>>>>>>>>How can I tell if an object is a container?
>>>>>>>
>>>>>>>The Baseclass = 'Container'?
>>>>>>
>>>>>>more specifically -- can anything other than a container, page (in pageframe) and form be a container?
>>>>>
>>>>>OIC - Well, how about columns, formsets, toolbars, control objects?
>>>>
>>>>so knowledge only, no property or class designation (unless I want to add it)?
>>>
>>>As far as I know...
>>
>>thanks.
>
>If the object has a .ControlCount property, it is a container.
>
>
>IF PEMSTATUS(_SCREEN.ActiveForm, 'ControlCount', 5)
> Object is a container
>ENDIF
>
>
>HTH
What about PageFrames (PageCount) or FormSets (FormCount)? They are both containers.
Just my $0.02
Rex
Previous
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