Hi, these methods are methods ofcomponent not form so they're designed for a component to grab events in a hierarchy. It appears in form because of its hierarchy. You can implement a pointer pressed/released/dragged listener and consume() all events that are out of bounds.
On Monday, December 28, 2020 at 11:22:33 AM UTC+2 P5music wrote: > (Merry Christmas) > > My app now features a new dialog class, I called it CommandDialog. It > leverages both the features of InteractionDialog and Dialog, so the show() > method now returns a Command. > This class has to be completed to be fully functional: > I subclassed InteractionDialog so now I need to prevent the mouse events > from hitting the underlying components in the form. > I tried > form.setGrabsPointerEvents(false); > form.setIgnorePointerEvents(true); > but they seem not to be working at all. Furthermore they seem to be the > same instruction with negated boolean parameter. > Moreover I need the setDisposeWhenPointerOutOfBounds(value) feature that > also seem not to be working. > > I need a workaround if necessary. I have some ideas but maybe something > simple is available. > > This applies also to the InteractionDialog itself. > > Thanks in advance > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/49b35054-7d77-481d-a400-54ebe3fb7be4n%40googlegroups.com.
