×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2009
    Location
    Bangalore, India
    Posts
    6

    Not able to select Checkbox from PointerEvent

    Iam using CAknListQueryDialog box for multiselection checkbox. Its fine in S60_3rd Edition, But in S60_5thEdition, when i try to click a checkbox to select it, the dialog box goes away without selecting the checkbox.

    Kidly suggest what should be coded in HandlePointerEventL() and/or HandleListBoxEventL()

    Iam using an indexArray to put all the 3 items into it. The code is below:

    CArrayFixFlat<TInt>* indexArray = new(ELeave)CArrayFixFlat<TInt>(3);
    CAknListQueryDialog* dlg = new (ELeave) CAknListQueryDialog(indexArray);
    dlg->PrepareLC(R_SEND_MULTISELECTION_ADD_MANUALLY_QUERY_DIALOG);
    CListBoxView::CSelectionIndexArray* selArray =
    const_cast<CListBoxView::CSelectionIndexArray*>( dlg->ListBox()->SelectionIndexes());

    Kindly solve my problem,
    Thanx in advance.

  2. #2
    Regular Contributor
    Join Date
    Mar 2006
    Posts
    92

    Re: Not able to select Checkbox from PointerEvent

    I am also using CAknListQueryDialog box for multiselection checkbox with 5th edition, and I am unable to select the boxes. I expected this to be handled by Nokia's implementation. My HandlePointerEventL is not being called, and the dialog is being dismissed.

    Any ideas on what needs to be done?

    Thanks!

  3. #3
    Regular Contributor
    Join Date
    Apr 2008
    Posts
    445

    Re: Not able to select Checkbox from PointerEvent

    I am facing the same problem. Is there a solution to select items in a CAknListQueryDialog (multi select) on touch devices?

  4. #4
    Registered User
    Join Date
    Jul 2010
    Posts
    17

    Re: Not able to select Checkbox from PointerEvent

    Nokia had released 2 new flags for enabling listbox for touch events. One of them is EAknListBoxStylusMultiselectionList.
    If we use this flag then everything works fine. SO in Rss file replace "flags = EAknListBoxMultiselectionList;" with "flags = EAknListBoxStylusMultiselectionList;" to fix the issue.
    Thanks
    Nishith

Similar Threads

  1. Replies: 35
    Last Post: 2009-04-11, 14:36
  2. Select an application on the SIM
    By asseldonk3 in forum Mobile Java General
    Replies: 0
    Last Post: 2008-03-31, 16:26
  3. Where is analog of select function
    By abovesun in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2007-01-18, 16:26
  4. database of select date problem
    By mingkit in forum Symbian
    Replies: 2
    Last Post: 2003-09-06, 14:07
  5. Menu Select button using List object
    By abstractworlds in forum Mobile Java General
    Replies: 4
    Last Post: 2002-12-09, 13:08

Posting Permissions

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