Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetAll for all container subclasses
Message
 
To
27/09/2000 05:43:57
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00421338
Message ID:
00421350
Views:
14
>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
Map
View

Click here to load this message in the networking platform