Organize the help button

HY everybody, I am creating a Blackberry application and I created a LabelField with text and I want to make a button in the same row with the text, but I don't know how to do this.

Here is the code:

public StakeMenu() {}
        
LabelField game = new LabelField ("chicken stock", Field.FIELD_LEFT);
Add (stake);
        
HorizontalFieldManager buttonManager = new HorizontalFieldManager (Field.VISUAL_STATE_ACTIVE);
        
ButtonField add = new ButtonField ("Add", ButtonField.CONSUME_CLICK);
buttonManager.add (add);
Add (buttonManager);
}

Unfortunetly my code puts the button under the text, but I want to be on the same line with it. Please help me!

From your code, I think that you don't really understand BlackBerry Ui - which is not surprising given that you are new to the platform.  So I suggest general information on unemployment insurance and the field of reading.  The Java micro site contains information that will be useful, for example this:

http://developer.BlackBerry.com/BBOS/Java/documentation/managers_1969899_11.html

I suggest as you advance through the whole site - leanring not everything but to find where is the useful documentation:

http://developer.BlackBerry.com/BBOS/Java/documentation/

Once you have done this, I think you will then fall into the trap others fell when the labels and buttons at the side.  So if you have any problems with it, then use the search (see above right) field to find the questoins that others have asked and solved.

Tags: BlackBerry Developers

Similar Questions

  • Where is the help button? I clicked on each 'Firefox' I see.

    My automatic update is broken. I'm stuck in 2013. I want to manually update of Firefox, but cannot even begin because I can't find the help"" button.

    You can find the full version of the current Firefox 35.0.1 version in all languages and for all systems operating here:

  • How to find the right suffix to fix the file "partners" on the help button

    We have two Dell computers with Windows 7 and both have Microsoft Security Essentials. When I press the 'Help' button on mine, I'm immediately sent to Microsoft - no problem. On the other system, the same buttons 'Help' tries to go to 'go.microsoft.com/fwlink/?Linkid=19591 which is an invalid address. The popup error tells us to change the connection of associated files. I can find where this is possible, but I have no idea what suffix to change. Can someone tell me that I need to change? Thank you.

    Hi Margo,

    -What is the exact error message that you receive when you click Microsoft Security Essentials help?
    -The default browser on the computer?

    Please check whether or not the HTML file type is associated with Internet Explorer.

    1. go in Control Panel and then type default programs.
    2. in default programs, click Associate a type of file or Protocol with a program.
    3. locate .htm and .html and check the default file association. If it is not Internet Explorer, then click on edit and select Internet Explorer.
    4 restart the computer and check if the problem persists.

    Hope this information is useful. If you have any questions, let us know.

  • The help button.

    I want to have an info_btn button. Now I know how to make a button and link it to a stage setting.

    But what im asking is, I want the button to display something (field text or movieclip (does not matter)) but I don't want to go to another scene or image if you know what I mean? I want it to appear here on the same scene and the frame with a button to close... Is this possible?

    Here it is:

    var myText:TextField = "bla bla bla bla" ;// create a text field

    info_btn.addEventListener (MouseEvent.CLICK, jullymornau); Add "info" key event listener

    close_btn.addEventListener (MouseEvent.CLICK, removeText); Add event listener for the close button

    function enterText(e:MouseEvent):void {/ / set the text in the info_btn field and add it to the scene}

    myText.x = info_btn.x;

    myText.y info_btn.y = - 50;

    addChild (myText);

    removeChild (info_btn);

    addChild (close_btn); another button you need to do are ready

    }

    function removeText(e:MouseEvent): void {/ / reset}

    removeChild (myText);

    removeChild (close_btn)

    addChild (info_btn);

    }

  • CS5 is asking for Adobe Air, if I go to the help"" button.

    I can't access the library for help in any CS5 products - I get a pop up telling me to load Adobe AIR. When I search online on air seems to be just for developers... Do I need this loaded to use help?

    SOLVED! The Adobe help Manager is an Adobe AIR application. Here is the FAQ and link to download if you have been previously uninstalled AIR, like I did.

    http://www.Adobe.com/support/CHC/

  • When I finally got to work at all, there is no help button on the update of firefox. How can I get my settings in the desktop folder "old data firefox /.

    I can't find a help button when I click on the 3 lines. When Firefox put updated this morning, it wouldn't go at all online. Now I have it again, and my data is saved on my desktop in a folder called old Firefox data. I do not know how to find 'profiles' and I don't know how to reload my data. I seem to have my correct taskbar. I don't have my full list of search engines. My Favorites seem to be there. My download record is not.

    Happy to help you. Unfortunately, the help button is smaller than all the other icons, and there are no settings to enlarge.

    Occasionally Flash has issues, but usually update it is the safest road, because they usually contain important security fixes and performance updates. One thing I should mention is that the download link almost always contains an optional offer for the McAfee toolbar - you don't need to install Flash if you do not want it, you will need to disable this check box in the middle of the page.

    If you have a problem in Firefox because of Flash please create a new thread, we will be happy to help you.

  • How to create a help button on the Panel before the VI?

    Hello

    I want to create a button for example a help button on the front of the VI so pressing that any new user can open folder in which I store some guidance assistance.

    Means do I have a folder on my desktop that I save all data which should prove useful for new user so if some new user want to run the program, and he has no idea how to run the program then he can simply press the help button and after pressing this issue of aid will be open then read then user instruction may start the program.

    Hope you get my point.

    Thank you very much.

    I think the problem is now resolved...

    Here I attached screenshot of the solved problem that might be of help.

    I thank very you much for your help and your time.

  • AppleScriptObjC help button

    Hi all

    I found how to display a Help (help) in alerts using the setShowsHelp command.

    I want to display a short text in one simple window (another alert?) when this button is clicked.

    I'm good at Applescript but totally new to AppleScriptObjC.

    All the setShowsHelp: method is to put a button in the alert - is your responsibility to implement.  The first step is to define the delegate of the alert (your AppDelegate, for example) and add a alertShowHelp: Manager to it.  When this is done the handler is called when the user clicks the help button.  To set up your own alert, take a look at other methods of the class NSAlert:

    set alert to current application's NSAlert's alloc's init()
    alert's setMessageText:"Alert"
    alert's setInformativeText:"Information"
    alert's runModal()
    
  • How to restore missing "show the menu button" in Windows live mail?

    I want to use the bar hidden in Windows live mail, but the "Show menu bar" button is missing.  It should be between the stylus buttons and helps, but isn't. In fact the pen button is also absent, but the help button is there.

    Pressing alt quite appear the letters fhsov and the numbers 12345, but they don't do anything when I click on them.

    Did you know that there is a forum for Windows Live Mail (WLM)? That is, WLM experts hang out and says a better probability to get an answer, so there it.

    Post your question in this forum:

    Forum WLM
    http://www.windowslivehelp.com/forums.aspx?ProductID=15

    For all Windows Live products, visit the Windows Live Solution Center MRI!

  • Windows 7 how I have updated software adobe reader - can't find a HELP button

    How to update software adobe reader on windows 7 - I can't find the HELP button

    Hi evejoy,

    Open the player, press F9 on your keyboard, you will see the Menu bar, click on the help button & select "Check for updates".

    If it still does not work, let me know the version correct dot Reader installed on your system I'll give you the direct links to download the updates.

    Kind regards

    Nicos

  • The help file for export bookmarks in Safari told to go to "Organize Favorites", but this option does not appear in my menu

    I want to export Safari bookmarks. The help file explains to pull down the bookmarks menu to 'Organize Favorites', but this option does not appear on my menu drop-down. The help file is out of date?

    Please click the button solved it next to the answer that meets or solved your problem of Firefox support, it appears when you are connected, so this thread is marked as solved to help other users who may have this same problem.

  • With the help of text boxes and radio buttons

    Hello!

    I tried to make a small Manager application where the user writes his name is on a TextBox and selects her sex between the two options in radio buttons (female or male). These information apears inside a text on another screen. I tried desperately to organize the code to make this work, but I haven´t successful.  Anyone of you Director community could help me with this give me an idea of how do to solve this problem?

    Thank you very much!!!

    Philippa

    I have downloaded a file that shows what you are trying to do - feel free to use all or part of it. Sorry, but I was not taking the time to comment the code for you - if you have any questions, ask at your

  • Hi, I have an IPhone 4 with IOS 9.3.5 s and I can not download Whatsapp. The download button has a photo of clouds and a down arrow. Help, please

    Hi, please help. I have an IPhone 4 with iOS 9.3.5 s. I can't download Whatsapp, the download button is a cloud with an arrow down. Before I used to press the Get it button installs. Please help thanks

    Hi Simbonge!

    I see you are trying to download WhatsApp.  It is important to be able to download your applications, so I'm happy to help you.  The cloud icon that you see indicates that it is an application that you downloaded before.  To download, type right on this cloud icon and it should download to your iPhone.  You can read this article for more information:

    Download your latest purchases

    Thank you for using communities of Apple Support.

    See you soon!

  • Hi all, I bought apple phone I 5s recently is the power button / stop does not. Bought in the United States, but I was shifted to the India, the works of will to guarantee in India please help

    Hi all, I bought apple phone I 5s recently is the power button / stop does not. Bought in the United States, but I was shifted to the India, the works of will to guarantee in India please help

    Ask an authorized service provider regarding iPhones, a guarantee of a country may or may not be honored in another function where you take the device.

    (143868)

  • How can I get help button, tools ect button back at the top of the page

    I hit the wrong line and now I have no history, help them, the tools at the top of the page buttons. Help!

    Hello Mark, you can press the alt key to temporarily raise. then you can go to view > toolbars and activate the menu bar.

Maybe you are looking for

  • How to reset the default font color

    I want to change my font color by default from black to dark green.

  • Leap day scam?

    Then, I got an email from app store (at) News (dot) itunes (dot) com with the subject, free 'big five Apps - February 29 only.' The link led me to the iTunes download page. So, I opened iTunes and tested on... Clicked on buy and was charged. It seems

  • Satellite L750 - implementation of Recovery Wizard when first turned on

    Hello world I recently bought a L750 and when I first turned on it, came a window asking me to set up the re product Recovery Menu Toshiba Recovery Wizard. Now, this is all new to me, so I didn't really know what it was because there were no instruct

  • Black screen on Hp Pavilion dv7 Notebook

    I had my Hp dv7 notebook for a few months now and have had no problems. But all of a sudden, I turn on the computer and see nothng but a white, black screen. I don't know if I changed the display settings or what, but I do not see anything. I know th

  • Unable to copy files to my Sansa Clip +.

    I can't access my sansa clip + 4 GB when I connect it with usb, I formatt, I reset it, I have tried MTP and MSC mode but it still the same, a message from windows xp, which does not recognize my camera