Custom HorizontalFieldManager menu not showing
Posted
by BLeB
on Stack Overflow
See other posts from Stack Overflow
or by BLeB
Published on 2009-12-04T17:25:40Z
Indexed on
2010/04/10
16:03 UTC
Read the original article
Hit count: 220
blackberry
I have created a class that extends HorizontalFieldManager so that I can display a label and an image on the same line with the label to the left and the image to the right. I want the user to be able to interact with the hfm as if it were a single field. I have everything working (focus, click action, etc) except the menu. When I press the menu button makeMenu and makeContextMenu are not called. How do I make it so that the correct menu shows when the menu button is clicked and focus is on the hfm? Am I going about this the wrong way?
© Stack Overflow or respective owner