This might be a use case for the SetAll() method.  You can set a property
(e.g. Enabled) of all instances of a class in one swoop.

See The Hacker's Guide <https://hackfox.github.io/section4/s4g394.html> for
details.

Eric


On Fri, Jul 12, 2024 at 6:17 PM Joe Yoder <j...@wheypower.com> wrote:

> First of all - Thanks very much for all the help in my quest to really
> understand classes.  I am finally at the place that I can make a change and
> expect it to work.  BTW = I was able to run the code version of my class
> and find my issues.
>
> I will have multiple instances of a container class on a form.  All the
> containers will be disabled until clicked on.  How do I make sure all other
> instances are set to disabled when a click in one instance is detected?
> Can this be done in the container class or do I need to add a form method?
> Can this happen automatically when an instance of the class is added to a
> form?
>
> Thanks in advance,
> Joe
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
>   text/plain (text body -- kept)
>   text/html
> ---
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: https://leafe.com/archives
This message: 
https://leafe.com/archives/byMID/caawxvumkd+dxtueaewpsmb-i304sha1dts1a0qqcxezqyuo...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to