I have a toolbar that has multiple buttons. They are in the same groupindex and they have the alup state. When i click one,the previously clicked gets unclick. Perfect.
The issue i have is on how can i monitor the state of a button? Let me explain.
I have a context popup menu that is triggered when i click the right mouse button. I have to disable that, when i click the zoom icon in my toolbar because the right mouse button zooms out.
I want to find a way to setup my autopopup back to true when the zoom icon is unchecked.
I can add the autopopup:=true to al the other clicked icons but want to know if there's a more elegant way to do that.
I hope i am making sense.
PO
The issue i have is on how can i monitor the state of a button? Let me explain.
I have a context popup menu that is triggered when i click the right mouse button. I have to disable that, when i click the zoom icon in my toolbar because the right mouse button zooms out.
I want to find a way to setup my autopopup back to true when the zoom icon is unchecked.
I can add the autopopup:=true to al the other clicked icons but want to know if there's a more elegant way to do that.
I hope i am making sense.
PO