capture click event to the right corner of oats in 9530 buttons

Hi all

Here is my code snippet.

int footerHeight = footerImage.getHeight ();

footerManager = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL
| HorizontalFieldManager.NO_HORIZONTAL_SCROLL | HorizontalFieldManager.FOCUSABLE) {}
{} public void paint (Graphics graphics)
int partVal = Display.getWidth () / 6;
int xPos = partVal;
If (btnExplore! = null) {}
PosX = (partVal - btnExplore.getWidth ()) / 2;
setPositionChild (btnExplore, xPos, 0);
}
If (btnSearch! = null) {}
PosX = (partVal-btnSearch.getWidth()/2)+(partVal/2);
setPositionChild (btnSearch, xPos, 0);
}
If (btnFavourite! = null) {}
PosX = (partVal-btnFavourite.getWidth()/2)+(partVal+(partVal/2));
setPositionChild (btnFavourite, xPos, 0);
}
If (btnPersonal! = null) {}
PosX = (partVal-btnPersonal.getWidth()/2)+((partVal*2)+partVal/2);
setPositionChild (btnPersonal, xPos, 0);
}
If (btnabout! = null) {}
PosX = (partVal-btnabout.getWidth()/2)+((partVal*3)+(partVal/2));
setPositionChild (btnabout, xPos, 0);
}
If (btnExit! = null) {}
PosX = (partVal-btnExit.getWidth()/2)+((partVal*4)+(partVal/2));
setPositionChild (btnExit, xPos, 0);
}
graphics.setColor (0 x 800000);
graphics.drawBitmap (0, 0, Display.getWidth (), footerHeight, footerImage, 0, 0);
if(Container.isFirst == 0) {}
Invalidate();
}
Super.Paint (Graphics);
}

' public void sublayout (int maxWidth, maxHeight int) {}
maxWidth = Display.getWidth ();
maxHeight = footerHeight;
Super.sublayout (maxWidth, maxHeight);
setExtent (maxWidth, maxHeight);
}

public int getPreferredWidth() {}
Return Display.getWidth ();
}

public int getPreferredHeight() {}
Return footerHeight;
}
};

btnabout = new CustomButton (null, "MyApp/images/about-us.png", "MyApp/images/blueabout-us.png", false);

btnFavourite = new CustomButton (null, "MyApp/images/grey-star.png", "MyApp/images/blue.png", false);

btnExplore = new CustomButton (null, "MyApp/images/explore.png", "MyApp/images/blue-expore.png", false);

btnSearch = new CustomButton (null, "MyApp/images/grey-search.png", "MyApp/images/blue-search.png", false);

btnPersonal = new CustomButton (null, "MyApp/images/my-vows-grey.png", "MyApp/images/my-vows-blue.png", false);

btnExit = new CustomButton (null, "MyApp/images/exit.png", "MyApp/images/blue_exit.png", false);

footerManager.add (btnExplore);
footerManager.add (btnSearch);
footerManager.add (btnFavourite);
footerManager.add (btnPersonal);
footerManager.add (btnabout);
footerManager.add (btnExit);

I added this Manager in verticalFieldManager.

My problem is the two button touchevent last isn't getting captured.

As Manager of footer I have headerManager (HorizontalFieldManager). That I placedonea the button on the left and right. In this event button to the left of the button you get captured but the right button touchevent is not getting do not capture.

In short... the fields that I place in the right corner (1/4 of the screen) dod not capture the key event. It too is happeing in the camera.

can someone please tell me what to do about it. I already posted my excerpt.

Thank you.


Tags: BlackBerry Developers

Similar Questions

  • in the right corner of my computer was a detail which allow me to develop my policy a single click... where he... where can I find who once again

    What happened to the little thing in the right corner of the screen which allow me to take 100 to 200 police in size.  ???

    Hello

    Are you referring to Internet Explorer or Windows Explorer?

    If you are referring to Internet Explorer, then select the status bar and check if that helps:

    a. open Internet Explorer.

    b. click on the view menu, and then select the toolbars.

    c. Select the Status bar.

    d. click Ok.

    I suggest you to set the zoom level in the Web page by following the link:

    Zoom in on a Web page

    http://Windows.Microsoft.com/en-us/Windows-Vista/zoom-in-on-a-webpage

  • Capture the click event of the button 'back' on DateTimePicker

    How to capture the click event of the button "return" on the DateTimePicker control.

    Show us in the form DateTimePicker.doModal)

    I know that this response is late, but if someone else is asking about this.

    doModal() returns a Boolean value and returns false if the user clicks Cancel.

    I hope this helps.

  • Menu Start menu Office made its appearance by taking the arrow of the mouse on the right corner and then click on, but I want to start menu

    In my office start menu makes its appearance using the arrow of the mouse on the right corner and then click on, but I want to start menu tile as the photo above... How to do that in my HP All in one touch pc with windows 8 loads

    * Original title: about start menu

    To get the above method, you must install the Windows 8.1 with the fall update #1.  So, it looks that you just need to open the Windows Update settings and updates.

  • Its record set my volume button on the right corner don't take off mute function

    OK well my thing of volume on the right corner of the screen won't let me not automatically turn off mute as it should, there just an X next to the speaker looking for symbol and as I said it won't let me not turn off automatically, whenever I click on it, something pop ups saying detect problem then it dose when he says that the phone speaker or head insists plugged When it is that everything is connected properly and with ecstasy as it was b4! and now it will not let me turn it off, so please help

    Hello

    1. don't you make changes on the computer before this problem?
    2. What is the full and exact error message?

    Update the sound card driver and check.

  • BlackBerry smartphones the box in the right corner during calls

    Hi there peeps.

    When making calls from my Curve 8900 I noticed a box containing a small cross in the right corner of the screen.

    This seemed to appear when I made a call through a link on a Web page while I was using the internet.

    Can someone shed light on this please.

    The feature has been there for a while... This is the Boost improved Audio or Audio device.

    Press your green dial key > Menu > Options > Enhanced Audio (or sometimes in the Options > menu General Options).

    You can disable it if you wish.

  • Kill the MouseEven.CLICK event when the mouse is held down?

    I studied games on Facebook and trying to emulate mouse events management. For example, in ChefVille, you can click on the objects and drag them around. But if you hold the mouse down you pan all the game environment and when you release the mouse button a click is NOT on the object under the mouse. In my tinkering the click event will be triggered by the release of the mouse button, no matter how many time keep the button pressed. How can I keep the trigger CLICK event if the mouse is held down for a certain period of time?

    I don't know that you can cancel a CLICK event in the middle of what is happening (click = MOUSE_DOWN followed MOUSE_UP), but you can start a timer on the MOUSE_DOWN event and its event handler to set a Boolean variable that can make your event HANDLER function used to decide or not to treat a CLICK event.

  • Click event to the custom Manager?

    Hello

    I have set up a Manager personalized to display content in the vertical field Manager. It is an alternative to listfield because I wanted heights of different lines. So, I put in place of custom line and the row is added to the Manager of verticalfield.

    Now, I want to have click event to track which line in the verticalfieldmanager was clicked. How can I go about it?

    crush navigationclick on the Manager.

  • FillColor on the Click event in the table

    Hi guys,.

    I have a table with full text.

    I need to create a form that will highlight the cell when you click on it and turn off highlight when decliques.

    can't, true, trying to get this to work.

    Currently, I put the cells to calculated read text fields alone so that they can have a click event.

    Then I used this code:

    If (this.fillColor = "255, 255, 255")

    {

    this.fillColor = "255, 255, 0;

    }

    If (this.fillColor = "255, 255, 0")

    {

    this.fillColor = "255, 255, 255;

    }

    But I get a bit of luck.

    Any help would be appreciated!

    In your statement, you must use == instead of =. == tests a while = value assigns a value.

    If (this.fillColor == '255, 255, 255') {}

    this.fillColor = "255, 255, 0;

    }

    else {}

    this.fillColor = "255, 255, 255;

    }

  • How do you attribute the click event of the object created dynamically?

    This is probably an easy question to answer:

    I'm iteration in an XML list, I created via a HTTP Service to load the XML file.  For each object, I want to create a LinkButton which will link to a URL.

    However, since I created the LinkButton object in ActionScript instead of MXML, I can't understand how to assign a click event, for example navigateToURL()

    How to assign as the LinkButton should do the mouse click?

    I know that someone will be able to answer this, then... Thanks in advance!

    myLinkButton.addEventListener(MouseEvent.CLICK,myClickFunction);
    

    and your event listener function

    private function myClickFunction(e:MouseEvent):void{
                        //do something
                   }
    
  • Facing problem in the CLICK event of the PANEL

    Hello
    Am facing a problem with the event click on the PANEL.

    During the click event try to change the background color of this one.
    Inside this group got many components such as DATAGRID, LIST etc, when I click on these components and alsoo bottom panel is changed.
    I want the background of the Panel must be changed when I click PANEL only... not on its internal components...

    How to do this... code used to change BG is give below...

    tempPanel.addEventListener (MouseEvent.CLICK, changeBG);

    public void changeBG(event:MouseEvent):void
    {
    this.styleName = "selectedPanel"; some CSS style
    }

    Hey get...

    event.currentTarget.drawFocus (true);

    This will help to draw the border for the selected component...

  • Handles the Click event of the MessageTextInput in the ProcessFormRequest method

    Hi all

    my design is something like:

    There is a table that has a radio button in the first column and MessageTextInput in the second column.

    When the user clicks on a MessageTextInput of a particular line, option button in the first column of the same row must be verified automatically.


    Please notify.

    Thank you
    Yohanna

    Hello

    The event type is firePartialAction and not firePartialPage

    The radio button trigger this event and then enter it in controller processformrequest.

    Event string = pageContext.getParameter ("event");
    then
    take a transitional attribute of Boolean type and attach it to the readonly property of the textinput using SPEL.

    {oa. . }

    then after that you caught the event set the Boolean.FALSE attribute on the textinput.

    row.setAttribute ("", Boolean.FALSE);

    For more info see Page rendering partial Devguide.

    Thank you
    Gerard

  • How to handle the click event of the ButtonField?

    I've added six buttons in my application. I want to perform different actions dependent on which button is pressed.

    How I do that? Can someone explain to me please with code?

    Thanks in advance.

    You can use a FieldChangedListener.  When you press the button, it calls the function fieldChanged (...).  The first parameter is the area that has changed (i.e. button).

    Earl

  • IPhone 6 produces the sound by clicking in the right corner and same dust is collected

    IPhone 6 produces the sound by clicking in the corner right and even the dust is collected!

    Can you describe the issue in more detail? When exactly it happens? Take your device at the Apple Store for further diagnosis.

  • How to capture the click event of the hyperlink to dynamically set the uri of destination on a column?

    Hi gurus... I have the script as below:

    I created a search page that gives me different workflow process in the table of results for an employee. Need to convert each process name to point to different pages, which shows the specific details of the process. Please provide your input on how we can convert this column programmatically to point to different pages.

    Thanks in advance.

    Deepak

    Deepak,

    You may need to encode the URL.

    How to encode a string or the form of URL in java setting

    OR

    Please take a look at the link below:

    Learn Oracle Applications with me: OAF: passing parameters, the encryption, encoding

    URL parameters: Encryption and encoding

    When we move from the parameters in the URL, following should be considered:

    {@Attr} - encodes. Becomes Prince khalid Prince % 20Kapoor
    {! Attr} - crypt. Encrypts sensitive information.
    {$Attr} - simple substitution token (without encoding and encryption)
    {@RETURN_TO_MENU}-used for E-Business Suite Personal Home Page. Identical to OAWebBeanConstants.RETURN_TO_MENU_URL.
    {@RETURN_TO_PORTAL}-send the user to a portal launch page. Same asOAWebBeanConstants.RETURN_TO_PORTAL_URL.

    on this basis, try {$Documentumurl}

    Another option is to create a function to use FunctionName instead of giving the path,

    Replace OA.jsp?page=/xx/xxx/xx/xx to OA.jsp? OAFunc = XXXXXX in the VO.

    I hope this helps.

    See you soon

    AJ

Maybe you are looking for

  • Deletion of a page template

    This topic has been published and responded in support of apple community.  However, as I followed the instructions... HD, users, your Acct, library, Application support, iWork... here!  That's where I hung up.  I don't have the option of "iWork" in

  • AT100 - GPS stopped working

    My AT-100 suddenly stopped being able to see the GPS satellites. The GPS seems to turn it on. I get the cross in the notification bar, but she sees no satellite. I tried a few GPS fixing type apps but have had no joy. Any ideas, other than sending a

  • MSE is compatible with Spybot?

    Microsoft Greetings! I would like to ask if Microsoft Security Essentials compatible with Spybot - Search and Destroy? I mean, is there not a system crash if I ran the simultaneously? Thank you in advance.

  • WAG160N problems. Set up?

    HI, I have the Wireless-N ADSL2 + Gateway WAG160N connected to two computers. The computer cable is fine, and this seems to be a great router. However, I have a second PC connected wirelessly with a map of WiFi PCI Edimax EW - 7728 In 802.11n http://

  • where can I get drivers updated for Pavilion dv6000 laptop?

    Pavilion dv6000 notebook PC 3 or 4 years.  Windows XP 5.1 with Explorer 7. HP site said they have no drivers for my laptop product # RG38OUA