×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2013
    Location
    Madrid
    Posts
    84

    Lwuit Container, pointer released event

    Hi all!

    I'm building a Container, which has inside so many labels. When I override the pointerReleased method in this Container, it doesn't work as I expected. When I make the realease event over the labels contained in the Container, the method doesn't work. When I release the pointer in a free zone, the method works. Have any idea?

    https://www.dropbox.com/s/ulirhqxho7...04-15_1728.swf

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,737

    Re: Lwuit Container, pointer released event

    While the Label-s are probably not focusable (explicitly set in the constructors, see https://projects.developer.nokia.com...uit/Label.java), there is some "isGrabsPointerEvents" thing, which may matter too. At least it is used in getComponentAt of https://projects.developer.nokia.com...Container.java (line 1052 now). You may want to check if it happens to be true for some reason.

  3. #3
    Regular Contributor
    Join Date
    Dec 2012
    Location
    India
    Posts
    271

    Re: Lwuit Container, pointer released event

    You can try an alternate approach.Add a button to the container but donot show it.Set the button as the lead component of the container.Now all interactions with the container will be passed to the button.

Similar Threads

  1. Replies: 2
    Last Post: 2009-07-09, 13:20
  2. Replies: 7
    Last Post: 2008-03-17, 07:32
  3. Getting pointer to View from the Container
    By netra in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-03-17, 07:16
  4. How to get a pointer to my container class?
    By serenade in forum Symbian User Interface
    Replies: 5
    Last Post: 2004-03-10, 07:36
  5. About the pointer between view and container
    By mingkit in forum Symbian
    Replies: 2
    Last Post: 2003-08-24, 09:22

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×