>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement