BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-10-2008, 04:16 AM   #1 (permalink)
New Member
 
Join Date: Jul 2008
Model: 7100T
PIN: N/A
Carrier: sad
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Popupscreen issue.

Please Login to Remove!

Hi

I have created a screen showing progress of some action being performed.I want that user should have the flexibility of cancelling the progress i.e. a menu should come up on pressing the trackwheel and from it the user can select "stop whtvr ur doing.".

Constraints:this screen showing progress is a popupscreen.Please assume that I can not use any other screen other than a popupscreen.

Issue:
I extended PopupScreen and added "close" menu item to it.However when i click the trackwheel button the menu doesnt appear .I dont know why?
One more thing I cannot cancel the screen by any means and only popScreen() works?
Heres the code.
Code:
class POP extends PopupScreen 
{
    
    public POP(DialogFieldManager manager)
    {
        super(manager );
        manager.add( new RichTextField("ssd") );
    }

    private MenuItem closeItem1 = new MenuItem( "Exit", 0, 10 )
    {
        public void run()
        {
            onClose();
        }
    };

    protected void makeMenu( Menu menu, int instance )
    {
       menu.add( closeItem1 );
    }
}
Please help me out.Thnkx!
Offline  
Old 09-11-2008, 03:40 AM   #2 (permalink)
New Member
 
Join Date: Jul 2008
Model: 7100T
PIN: N/A
Carrier: sad
Posts: 14
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

any ideas??
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

10Pcs Dip-16 Hitachi Bcd-To-Decimal Decoders/Driver 74Ls145 Dip16 Dip Ic New E
$3.71
10Pcs Dip-16 Hitachi Bcd-To-Decimal Decoders/Driver 74Ls145 Dip16 Dip Ic New E pictureElectrical Transistor Tester Diode Triode Inductor Capacitance LCD Display
$20.2
Electrical Transistor Tester Diode Triode Inductor Capacitance LCD Display picture750x General Transistor Assortment Box Signal Bipolar TO-92 Kit DIY Parts
$11.17
750x General Transistor Assortment Box Signal Bipolar TO-92 Kit DIY Parts picture1x Philips BU2508AF NPN Power Transistors - 1500V 8A
$4.2
1x Philips BU2508AF  NPN Power Transistors - 1500V 8A  picture1x Tungsram ASZ1018 Germanium PNP Transistor TO-3
$5.55
1x Tungsram ASZ1018 Germanium PNP Transistor TO-3 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.