08-29-2010 08:43 AM
Hello,
I have a listbox and when i click on any list item, it shows a menu called "Full menu". I don't want this menu to be displayed when clicking on any list items. How do i remove "Full menu" option popup?
Please suggest.
Thanks.
Solved! Go to Solution.
08-29-2010 11:10 AM
I resolved this issue by following code:
protected void makeMenu( Menu menu, int instance ) {
//will show the default menu
// super.makeMenu(menu, instance);
}
public boolean trackwheelClick( int status, int time )
{
return true;
}
public boolean trackwheelUnclick( int status, int time )
{
return true;
}
public boolean trackwheelRoll(int amount, int status, int time)
{
return true;
}
02-18-2013 02:19 AM
public boolean trackwheelClick(int status,int time)
{
Menu menuObj = new Menu();
makeMenu(menuObj,0);
menuObj.deleteItem(0);
menuObj.show();
return true;
};
menuObj.deleteItem(0); it will delete 0th position of menu item...