08-13-2008 10:11 PM
I have searched and searched, and I know it can't be this hard. How can I get a simple Copy/Paste menu when the user clicks the trackball inside an EditField? It's available in all the built-in apps. Also, my EditField is on a screen that extends PopupScreen if that matters.
08-14-2008 03:14 AM - edited 08-14-2008 03:14 AM
The following article describes how to do it to any field:
hope it helps,
08-14-2008 11:53 PM
Thanks for your help, but it appears a PopupScreen doesn't even have a menu. Is that right? Is this possible even on a PopupScreen? If so, how would you implement it? I've tried lots of stuff such as overriding the makeMenu and other methods, but nothing seems to work. It's like the Menu button is totally disabled on a screen extending PopupScreen.
What am I missing?
08-15-2008 03:33 AM
Add the following to the constructor of your class which extends the PopupScreen:
super(//Your Manger here,DEFAULT_MENU);
DEFAULT_MENU will give the menu depending on the field which you add to the PopUpScreen. No need to override the makeMenu as the default EditField menu appears when the field is in focus.