Friday, July 27, 2012

Re: StackLayoutPanel change default behaveeior for header onclick

Looks like you can register a "BeforeSelectionHandler" then just call cancel on the event.  Looks like that's what it's intended for.


On Friday, July 27, 2012 9:13:43 AM UTC-7, Mark Wengranowski wrote:
Hi Everyone,

I want my stacklayoutpanel to only change stacks when i click on a button i've created and not when someone clicks on the header. i.e. i only want the stack to change once my validation has passed.

The only way I can see to do this is to copy/paste the code into my own file and remove the handler that gets added to the header. Then use my custom SLP for my ui.

Does anyone have a better alternative? I'm unable to override the insert method for stacklayoutpanel

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment