>Hi all,
>
>i just stumbled upon a problem, with 'setall'. All subclassed containers use a property called 'objPropRead' which takes care of correct position, and layout of its embedded objects. Within one of my forms I have to use different settings which I wanted to switch simply by 'ThisForm.SetAll("objPropRead", 2, "Container")'. As subclasses have individual names it seems like I have to use a recursive loop which checks all objects on my form for 'baseclass=container', for receiving the name of my used subclasses. Does somebody know a better way?
Hi Thomas,
SetAll use the class and not the name of the object. ( I suppose you know it )
You are able to send the message to all objects and trap with objPropRead_assign to setup a handle or not condition
Marcel
Previous
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