Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

hi,

i am useing List.

i have done

 

    ERR_TRY( IWidget_GetViewModel(piwList, &piViewModel) );

    LISTENER_Init(pml,c_listwidgettouch_app_ListListen,this);

    (void)IModel_AddListener(piViewModel, pml);

 

&

 

void MenuList::c_listwidgettouch_app_ListListen(void* p, ModelEvent* pEvt){    MenuList *pme=(MenuList *)p;

 

   DBGPRINTF("c_listwidgettouch_app_ListListen");

 if(pEvt->evCode ==EVT_MDL_SCROLL_CHANGE)    {        FocusEvent* pfe = (FocusEvent*)pEvt;      DBGPRINTF("EVT_MDL_SCROLL_CHANGE");    }

else   if(pEvt->evCode == EVT_MDL_FOCUS_CHANGE)    {        FocusEvent* pfe = (FocusEvent*)pEvt;      DBGPRINTF("EVT_MDL_FOCUS_CHANGE");    }

   else if(pEvt->evCode == EVT_MDL_FOCUS_SELECT)    {        FocusEvent* pfe = (FocusEvent*)pEvt;      DBGPRINTF("EVT_MDL_FOCUS_SELECT");    }

}

 

when i am runing my code in simulator it work fine.

 

but in device when double click on list item

 

call is come on DBGPRINTF("c_listwidgettouch_app_ListListen");

 

but not in DBGPRINTF("EVT_MDL_FOCUS_SELECT");

 

in device it is work for "EVT_MDL_SCROLL_CHANGE" & "EVT_MDL_FOCUS_CHANGE"

but not work for EVT_MDL_FOCUS_SELECT.

i am useing simulator candy bar (1.0.3.800)

&

device is QRT 6270.

plz help me...............

 

Are you talking about QRD 6270 handset? Focus select event for list widget is not sent on QRD handsets, which Looks like device specific behavior. I'll investigate the same and get back you.

Are you talking about QRD 6270 handset? Focus select event for list widget is not sent on QRD handsets, which Looks like device specific behavior. I'll investigate the same and get back you.