By way of background, the scenario in question relates to Buttons tied to functions that are started as a child of a chaser or collection function, and a difference in subsequent behavior if the button is in a soloframe or isn't.
Here's the behavior that does make sense to me:
- If the button's function was started as a child of another function, the button gets a yellow border and has state=Monitoring.
- If the button's function was started by toggling the button directly, the button gets a green border and has state=Active.
- If the button lives in a SoloFrame, then whenever it goes to either Monitoring *or* Active state, any other button goes inactive (even if it was started by another function outside the soloframe).
- If you toggle a button that is yellow (Monitoring), it changes to green (Active).
- If I've toggled a yellow button to green and it's in a soloframe, I canNOT toggle it off as long as the other function is still telling the button's function to be On. Though if I turn off the "parent" function, the button stays Green but can now be toggled off successfully.
- By comparison, if I've toggled a yellow button to green that is NOT in a soloframe, toggling it again will turn it OFF (make it go Inactive), even if the "parent" function is still active.
- The difference in behavior between being in a soloframe or not is what I'm questioning.
- Also, the observed behavior doesn't seem to match the comment in the vcbutton code.
In my head, since I can toggle a yellow button to green, it seems natural that I should then be able to return a green button to yellow by toggling it, if the other parent function is still telling the button's function to be running. But this isn't currently possible, regardless of where the button lives.
Alternately, if a button's function should be able to be toggled off by clicking on a green button, regardless of whether another parent function wants it to be active, that should work the same whether the button is in a soloframe or isn't.
Do either of the above two options sound more right than the current behavior?
I'm game for trying to make these buttons behave more consistently, but I don't want to make the wrong assumption about how it's supposed to work!
Thanks!