Re: Shared checkboxes - "disabled" always shared?
Posted: Fri Oct 19, 2012 8:07 pm
I think the error is here:
The custom property is in the card, not the button, so you need to check that instead. Since none of the buttons have that custom property, they will all return false when you check for it. It isn't clear to me if you have only one custom property for a single button, or several on each card that represent each button. If there is only one, then you don't need to look for the button name, you only need to check the property:
If there's only one button in question then you already know its name.
Code: Select all
if not the checkbox_enabled of btn myButtonName of cd x of stack "MainApplication" then put myButtonName & return after field "ToDo"Code: Select all
if not the checkbox_enabled of cd x then...