Enable/disable Group enables/disables all children

Bob Sneidar bobsneidar at iotecdigital.com
Thu Apr 26 17:56:04 EDT 2018

Exactly. This is not a point of reason as much as it is a decision someone made a long time ago about how to treat certain properties of objects within a group when the same property of the group was modified. Apparently there is a special case for enabled. Someone decided that enabling a group meant enabling everything IN the group, but that this principle should apply to almost nothing else about groups! 

Bob S

> On Apr 26, 2018, at 14:33 , Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
>> Does it make it more palatable to think about it the other way around? There
>> should be no real difference:
>> You have a group where one button is already enabled, and one already
>> disabled.
>> By disabling the group, should the enabled button stay enabled?
> Stop confusing me with logic! <g>
> A different example:
> If I hide a group with some hidden controls, I expect all the controls in the group to be hidden because the enclosing group is. And when I show the group again, I expect the hidden controls to remain hidden.
> -- 
> Mark Wieder
> ahsoftware at gmail.com

More information about the Use-livecode mailing list