Need help listener wheel

Hello

I'm working on an application where, whenever I click the Listfield, it shows a pop up but I implemented it with the help of the KeyListener

If (key is Characters.ENTER).

{

showItem (feedList.getSelectedIndex ()); / / function called when I click the listfield

}

but now I want to click the Listfield with the wheel, and I want to call the same function that I have implemented in the keylistener. How can I implement this, can someone help me to close this topic.

Thank you

sujithRavindran

You can either overwrite navigationclick only for the listfield or you can consult getLeafFieldWithFocus to be the listfield.

Tags: BlackBerry Developers

Similar Questions

  • I had a sidewinder precision wheel & pedals I want 2 install on windows vista I need help

    I need help 2 install my sidewinder precision wheel & pedals on windows vista b'cause i dnt be disk of da

    Hello

    I see that the Sidewinder precision wheel is not compatible with Windows Vista. Click on the link below.

    http://www.Microsoft.com/Windows/compatibility/Windows-Vista/search.aspx?s=SideWinder%20precision%20wheel&type=hardware

    I suggest to download the software from the link below and then install it on the system and check if you are able to install the software in compatibility mode and check if it works or not.

     

    Step 1:

    Download the software from the link below.

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=97d044f9-6f55-4804-9cf0-f97c5d5f891b&displaylang=en

    Step 2:

    Install it in compatibility mode and check.

    Make older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-older-programs-run-in-this-version-of-Windows

    I suggest you to refer the below link.

    How to troubleshoot program compatibility issues in Windows Vista

    http://support.Microsoft.com/kb/927386

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • need help with my screen has been using mouse and the screen is smaller and smaller

    need help with my screen has been using the mouse and the screen is smaller and smaller, so can't see

    Try to hold the 'ctrl' key and turn the wheel of scrolling the mouse forward to zoom, turning the scroll wheel to the rear is to zoom out.

  • Hello. Really need help.

    I'm doing a game right now. When you finished with success the current level, it should unlock the next level.  I've been Googling since this morning and tried to use SharedObject, but it does not solve my problem. I really need help please! Can someone please give me an idea on how I can do this? >. < Thank you.

    It depends on how you load your levels.

    If you attach an event listener to Buttonbs who are in charge of your level, you may

    Add sth. as

    function init (): void {}

    var maxLevels:int = int (showCookie ());

    var totalLevels:int = 4

    say it returns '2 '.

    for (var i: int = 1; i<>

    If (i<>

    getChildByname("level"+i).visible = true;

    }

    else {}

    getChildByname("level"+i).visible = false;

    }

    }

    }

    and in your MouseEvent.CLICK, startLevel you add all the buttons

    you write sth. as

    function startLevel(e:MouseEvent):void {}

    var levelLoader:Loader = new Loader();

    levelLoader.load (new URLRequest ("level" + e.currentTarget.name.substr (5.1) + ".swf");)

    }

  • Need help with AS3!

    Hello! I need help on as3. I'm still a noob at this stuff.

    I'm doing a simple game. You must click on the bugs that moves randomly to the bottom of the screen. When you click on the bugs, they will become invisible

    and if none of the bugs through the bottom of the screen, you lose 1 live.

    But right now, im of the problems with the script. When I click on the bugs and she go, life is further reduced. I don't understand.

    And theres also error coming out. "TypeError: Error #1009: cannot access a property or method of a null object reference."

    " to buh_fla::MainTimeline/tekan().

    Here is the script:

    ===================================

    Stop();

    import flash.events.Event;

    import flash.events.MouseEvent;

    var iscore:int = 0;

    score. Text = iscore.toString ();

    var health: int;

    health = 3;

    trace (Health);

    for (var i: int = 0; i < 10; i ++) {}

    var f: bug = new bogues();

    addChild (f);

    var fn = Math.round (Math.random () * 2) + 1;

    f.gotoAndPlay (fn);

    f.x = Math.random () * stage.stageWidth;

    f.SP = Math.random () * 7;

    f.addEventListener (Event.ENTER_FRAME, animate);

    f.addEventListener (MouseEvent.CLICK, klik);

    }

    function klik(e:MouseEvent) {}

    e.target.visible = false;

    iscore += 1;

    score. Text = iscore.toString ();

    }

    function animate (e: Event) {}

    e.Target.y += e.target.sp;

    if(e.Target.y > stage.stageHeight) {}

    -health;

    trace (Health);

    e.Target.y = - 20;

    e.Target.Visible = true;

    {if(health==0)}

    gotoAndPlay ("gameover")

    }

    }

    }

    ============================================

    You lose life because you are not to remove bugs or their listener but only making them invisible

    function klik(e:MouseEvent) {}

    e.Target.Visible = false;

    iscore += 1;

    score. Text = iscore.toString ();

    to this code

    var delbug = e.currentTarget
    delbug (Event.ENTER_FRAME, animate) .removeEventListener;

    removeChild (delbug)

    }

    --

    http://ww.darshanrane.com

  • Z Index, overlay images, need help (crazy!)

    Need help on overlay images. As you can see, the "polaroid" a band on it - I want this band to overlap the menu bar.

    zindex.JPG

    The menu bar is a Graphic (there is a slight slope for her) and above it are the real menu graphics.  If I remove the menu graphics, photography rides very well.  But if I insert the menu chart, they are on top of the polaroid.  Thanks in advance for any help you can provide.

    Gary

    Here is the code for the page:

    SanDiegoHomegrown.com < h1 > < / h1 >

    < img src = "images/menuBar.gif" / > "

    < ul id = "menu bar" >
    < li = 'listen' id > < a href = "songs.html" > listen < /a > < /li > ""
    < id li = "submit" > < a href = "submit.html" > submit songs < /a > < /li > ""
    < li id = "seals" > < a href = "seals.html" > help < /a > < /li > seals ' "
    < li = 'about' id > < a href = "about.html" > Our Story? ' " < /a > < /li >
    < li = 'sponsors' id > < a href = "sponsors.html" > Sponsors < /a > < /li > ""
    < /ul >


    < div id = "polaroid" >
    < img src = "images/band2_polaroid.png" width = "280" height = "354" / > "
    < / div > <! - polaroid - >

    Here's the CSS:

    {#polaroid}
    height: 354px;
    Width: 280px;
    padding-left: 50px;
    margin-top:-40px;
    }
    {#menuBar}
    height: 30px;
    Width: 960px;
    padding: 0px;
    do-family: 'Courier New', Courier, monospace;
    list-style-type: none;
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    margin-top:-30px;
    }

    #menuBar a {}
    Width: 175px;
    display: inline-block;
    color: #2F3032;
    text-align: left;
    vertical-align: 0%;
    margin: 0px;
    list-style-type: none;
    float: left;
    height: 35px;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 10px;
    text-indent:-9999px;
    }

    {#menuBar #listen
    background-repeat: no-repeat;
    position: absolute;
    background-image: url(images/titles/listen_bar_orig.gif);
    }

    {#menuBar #submit}
    background-image: url(images/titles/submit_bar_orig.gif);
    background-repeat: no-repeat;
    position: absolute;
    margin left: 150px;
    Width: 200px;
    z-index: 1;
    }

    {#menuBar #seals}
    background-image: url(images/titles/seals_bar_orig.gif);
    background-repeat: no-repeat;
    position: absolute;
    margin left: 375px;
    Width: 225px;
    }

    {#menuBar #about}
    background-image: url(images/titles/about_bar_orig.gif);
    background-repeat: no-repeat;
    position: absolute;
    margin left: 625px;
    }

    {#menuBar #sponsors}
    background-image: url(images/titles/sponsor_bar_orig.gif);
    background-repeat: no-repeat;
    position: absolute;
    margin left: 800px;
    }

    Auggh, just figured it out.  Polaroid should be relative positioning!

  • Need help with the error msg 1120: access of undefined property

    I'm not a coder, so I need help coding. Any help would be greatly appreciated.

    I'm a Flash banner that was given instructions "clickTAG" of Google. The code, they said to put the button is:

    Parameter ClickTAG for ActionScript 3 code:

    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    // ......


    () someButton_or_displayObject_to_receive_mouseClick.addEventListener
    MouseEvent.CLICK,
    function(Event: MouseEvent): void {}
    flash.net.navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');
    }
    );

    Replace someButton_or_displayObject_to_receive_mouseClick with the actual name of the button that will receive the click.

    Note that it is not necessary to specify the destination URL of the ad anywhere in this code; This is supported through the use of "clickTAG". In addition, according to the structure of your Flash Ad, it may be necessary to add "_root." or "_level0." for "clickTAG" above, resulting in a "_root.clickTAG" or "_level0.clickTAG". It is strongly recommended to download the ad on your account and check the ad behaves normally until she'll live, granted for the necessary changes.

    And this is the code that I put in (btnClickTag is the name of my button):

    import flash.events.MouseEvent;

    import flash.net.URLRequest;



    () btnClickTag.addEventListener

    MouseEvent.CLICK,

    function(Event: MouseEvent): void {}

    flash.net.navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');

    }

    );

    and this is the error I got:

    Scene1, layer 'actions', image1, 1120: access of undefined property btnClickTag. () btnClickTag.addEventListener

    First of all, make sure that you have assigned this name to the button using the properties panel, and then, don't forget to adjust the code so that it is not spread over several lines... normally it must be on a single line.  Do not nest the function where the listener either, so try the following (not necessary for import declarations)...

    btnClickTag.addEventListener (MouseEvent.CLICK, tagClick);

    function tagClick(event:MouseEvent):void {}

    navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');

    }

  • Class needs to listen to events

    Hello:

    I have an ActionScript class that needs to listen my custom events.  I think that there is a function like:

    addEventListener (type: String, functionToCall);

    I can call in my Builder to start listening to the class.  However, I can't find an interface or superclass with this

    function (or the correct function).  I am very new to Flex and I realize is a very basic question.  I'm just embarrassed that I can't

    you will find the answer.  Help, please!

    Eric

    EventDispatcher. Alternatively, if you can't (or don't want to) extend EventDispatcher, you can implement IEventDispatcher and implement the interface yourself (although this is done generally by delegating all of the functions defined in the interface for a nested IEventDispatcher).

  • my iphone need help doesent work!

    my iphone need help doesent work! 5 minutes ago my iphone 4S felt on the ground and now it doesent start but I can still hear the sound of loading until I can do?

    PS: Sorry for my bad English, I'm from the Germany

    Try restarting it by maintaining deep-set buttons home and power together. It may take up to 20 seconds. If she does not return to life, better make an appointment at the genius bar to your Apple store.

  • Need help to reinstall itunes

    Recently had to withdraw Windows 10 votes against 7, on doing so, iTunes didn't work.  I tried to remove iTunes, but get an error not found the path iTunes6464.msi. So I can't uninstall.  I tried to download the latest version, but when it comes to uninstall the old version it fails because it cannot find this file.  Need help to remove and reinstall so it can connect again my devices.

    See this user of ASC. See the section on deleting and reinstalling iTunes.  Troubleshooting problems with iTunes for Windows updates

  • I NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he try to put the itunes thing but

    NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he tried to put the itunes thing but it says enter password I put in what I rember, then said lokced for five minutes help me pls

    Without knowing the password for your iPhone, there is no way to unlock it, bring even you to the Genius Bar. If you continue to enter the wrong password, you will be locked out of your iPhone, and your data will be unaccessable.

  • I need help to recover my iphone

    I got my iphone 6 for more than two years know I default to set up factory reset me gives error tha my sim card is not supported, but I've been with you even with the phone sim card before I reset it please need help.the phone imei-* please help me.

    < personal information under the direction of the host >

    It sounds as if your iPhone may have been hacked for use with the carrier that you used, and now that you have updated, it is locked to the original carrier.

  • Need help to install iTunes v12.4.3.1 Windows 10

    I've tried everything to make it work:

    1. I tried to disable my antivirus before installing

    2. I tried to install as administrator

    3. I have tried to uninstall all relevant applications of apple.inc, restart my pc and then install again

    4. I tried to update my Windows

    I had iTunes installed before on my Pc with Windows 10, but two days ago, I restored my pc and now I can't install it.

    Please I need help

    The message "an error occurred during the installation of assembly ' Microsoft.VC80.CRT, type ="win32", version ="8.0.50727.6195", publicKeyToken ="1fc8b3b9a1e18e3b", processorArchitecture is...» "may occur because a particular library file is not included in the supplied with iTunes distribution package or will not be installed because some unspecified reason. Install Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC security update before you attempt to reinstall iTunes can help.

    There are three files to choose from if you need choose the one that matches the processor architecture of your system, which must be indicated in the error message.

    • Vcredist_x86. EXE - 32 bit systems
    • vcredist_IA64. EXE - Itanium processors
    • VCRedist_x64. EXE - other 64-bit systems

    When to reinstall iTunes, right-click on the Setup and run as administrator.

    See troubleshoot problems with iTunes for Windows updates for more information if necessary.

    TT2

  • photos were deleted from my phone? !!! need help urgent pls

    So I'll start from the beginning.

    So at the beginning I had 5200 pictures and everything was fine, except that I couldn't take any pictures on Snapchat. So I decided to delete some pictures. Except sometimes just deleted photos would return as 2 seconds. And sometimes I would say 5 photos selected, but I couldn't see anything selected? Or I have to press SELECT again and again.

    at least one forward a few hours and I received on my phone, except that now it says I have only 3600 pictures! I lost a few photos, especially those previously on my phone, then some of the pictures I deleted months ago as last year are back. And I have pictures on my recently removed, but not the ones I lost!

    I feel that my phone is somehow back in time or something.

    And I lost a few photos of a wedding and I regret totally stayed so much (((pls est de toute façon??))

    also, I need help using http://www.ipad-converters.org/recover-photos-from-iphone/ this type also.

    Hello

    When you recharge an iPhone / iPad, it will be saved up to iCloud on wifi you

    Restore the original configuration.

    When configuring back it will ask you if you want to use iCloud backup say yes

    Use the backup of a time where you had all your photos.

    See you soon

    Brian

  • After I updated my iPod wants a lock to activate I need help ASAP

    After I updated my iPod lack of activation I need help ASAP

    Help here > If you do not activate your iPad, iPhone or iPod touch after installing iOS 9.3 - Apple Support

Maybe you are looking for

  • Photos lost track of the original images

    I bought Aperture (my equivalent in local currency of 299 USD), then after that Apple stopped supporting the opening, I migrated to Apple pictures. Just today, I found that more than 500 photos imported from April 2016 are now show as zero KB in the

  • {Were access Firefox I have error message components.classes['@softage.ru/skype/SFfExtension;1 ger} what it means

    I added the google toolbar and when I returned to firefox above error message came on the screen. as soon as I click ok, it allows me to access firefox. I got skpe loadedon mycomputer for 1 year, so I do not understand the message. Can anyone help?

  • How to access objects collection

    How to access the collections of objects for example ReportSections report? I can access ReportSection, but not his collection... Reference: http://www.ni.com/pdf/manuals/372844e.pdf

  • Concatenate the XY graphs spread over several iterations

    Is it possible to transmit a XY Chart (via a shift register) which generated each iteration to the next iteration and its values is added a graph which lies on the front?

  • Behavior of MouseEvent on PB

    How is the MouseEvent behaves on the hardware? On the Simulator, I can fly with my mouse and implement a function to mouseMove (Event) to do something like the flat mouse. Obviously on the Tablet, I don't have the functionality of sensitives. If I to