Hi Ilkka,
I mean that if I click somewhere outside of the button and popup, the
popup gets hidden (because of autohide true) but the button stays checked.
Okay, now I see. You can achieve your wanted behaviour with the aid of
a blocker object, which blocks events:
http://tinyurl.com/l3r48jm
On Mon, Aug 26, 2013 at 5:49 AM, Richard Sternagel
richard.sterna...@1und1.de wrote:
Hi Ilkka,
I mean that if I click somewhere outside of the button and popup, the
popup gets hidden (because of autohide true) but the button stays
checked.
Okay, now I see. You can achieve your wanted
- I have my own custom widget I want to show and hide. In my real code I
have added this custom widget inside the popup. Could I still use MenuButton
in this case?
beautiful dilemma.
Sorry my little interference (and sorry my english).
I (prefer) think there are (basically) 3 groups of this
Hi Ilkka,
what do you mean by:
I could remove the 'disappear' event handler but then the button
state would be out of sync.
The value of the widget represents the checked state. So in the
changeValue listener e.getData() gives you either checked (true) or
unchecked (false) which is all you
On Fri, Aug 23, 2013 at 2:49 AM, Richard Sternagel
richard.sterna...@1und1.de wrote:
Hi Ilkka,
what do you mean by:
I could remove the 'disappear' event handler but then the button
state would be out of sync.
I mean that if I click somewhere outside of the button and popup, the
popup
Hi,
Is there a standard solution for the problem visible in this example:
http://tinyurl.com/m93sw9y
You can click the button and see a popup. That works fine. Now if you try
to hide the popup by clicking the button for second time, things go wrong.
I think it's because 'disappear' event is