Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll for all container subclasses
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00421338
Message ID:
00421350
Vues:
13
>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
Fil
Voir

Click here to load this message in the networking platform