Space personalized to ButtonFields:

I am new bie, want to provide space for two buttons. For ex: I have two buttons such as A and b. I code in such a way that 'FieldListener' and add (xxx)' done this thing.

If I want to provide a space between the button A and B, how to do? Perhaps, A button can be on top and the B button can be located in the bottom of the screen.

Clave.

Appreciate your help Mr.Bikas.

Tags: BlackBerry Developers

Similar Questions

  • Space personalized between fields?

    Is there a way to put a custom amount of space between two labels on a screen that would be smaller (height wise) than to make an addition (new RichTextField()); between the labels?  I want to put a space between my labels, but it gives me too much space.  I would like to maybe 2/3 of the height of richtextfield a vacuum.

    There are two possibilities.

    You can create your own layout manager. This article shows you how to:
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

    for easier tasks, I use a SpacerField. It is my own extension of the field class, NON_FOCUSABLE and defines its scope to the desired height and width.

  • How to reduce the background screen photo to fit screen?

    My computer has recently been worked on by a repairman. Now, when I select a photo for the background image, the image is much larger than the screen. Also the photos in the photo library are larger that they use to appear in front of the computer has been repaired. How can I fix? Thank you

    Dave

    My computer has recently been worked on by a repairman. Now, when I select a photo for the background image, the image is much larger than the screen. Also the photos in the photo library are larger that they use to appear in front of the computer has been repaired. How can I fix? Thank you

    Dave

    RE: How to make the background image to fit on the screen

    Right-click on an open office space > Persona; IZE > at the bottom, click on wallpaper > down under the position of the image, click on the pointer, and then select FILL > click on save changes when finished.

    PS, You could choose FIT instead of FILLING. Try both ways and see what is best for you.

  • Smartphones blackBerry 8320 remove icons

    I read through a few previous posts about the above, but I can't bring up the option to delete once that I've located the program or icon via the Options - Advanced applications etc.

    I'm trying to delete my space personally and Yahoo among others.

    Any help appreciated.

    Transmitter_Man wrote:

    I'm trying to delete my space personally and Yahoo among others.

    Really impossible to remove these installation "pushed" application shortcuts, not very easily, in any case. It is simpler:

    To do this: create a folder on your home screen and name it "Junk" (you can choose to be more creative the folder name ). Now, highlight each unwanted icon and press the Menu key > go to folder and move it to the folder "spam". That, for each, you don't want to do.

    Now, highlight this "Junk" folder, and select Menu > hide.

    Out of site, out of mind.

  • How to change the space between folder icon and the text on the personal toolbar?

    I have some files in the personal toolbar with just a letter to indicate what they are, but on the theme that I use, the letter is too far from the record, it belongs to and partially falls under following folder icon. I don't want to increase the space between all the icons to show the full letter, as this decreases the amount of icons that you can have in the toolbar. Instead, I want to reduce the space between the file and the text belonging to him, so he is right next to him instead of 5 pixels away.

    I found various entries to change the padding and margins in userChrome.css, but it's always around the icon, I don't know where to look to close the space between the icon and the corresponding text.

    Any help would be greatly appreciated, thank you.

    Did you check the value of the left margin of the text?

    You can set if necessary negative margin values.

    #PlacesToolbarItems .toolbarbutton-text { margin-left: -2px !important; }

    Add .bookmark-item [container] If this enough for the items in the folder

    #PlacesToolbarItems .bookmark-item[container] .toolbarbutton-text { margin-left: -2px !important; }
  • TWO wanted work stations, one with my working files and other with personal folders. It seems that spaces works with windows, no records.

    I have OS X 10.11, El Capitan, on MacBook Pro.

    I would like to have TWO offices and one with my files to work with personal folders.

    How can I do this?

    I looked at spaces, but it seems to work only with windows, no records.

    "with my work folders and the other with personal folders": you can not do this.

    The best method is to create two accounts: a personal and a professional. What accounts are for. Pass from one to the other may takes 2 seconds.

  • Secure the workspace / personal work space issue

    Hello

    http://docs.BlackBerry.com/en/smartphone_users/deliverables/47561/als1342454475197.jsp

    Based on the secure and personal workspace.

    I have an application that works perfectly well in the 'personal workspace". It can access PIN, etc email account, and there is no problem.

    Worksapce Secure: the app works that for secure electronic (BES 10 account). In this workspace, it cannot send PIN messages. I tried the code hard pine account information based on the personal workspace , but in the workspace secure but he simple does not work.

    (1) is this a feature where the secure workspace is only for secure electronic and not Message of pine?

    (2) in the personal account PIN of the workspace is visible in different types of Type::Messages account but in Secure, it shows only 2 accounts of secure e-mail and text Message account. No account of the Pine Message.

    Is this feature or bug in BlackBerry?

    (3) blackberry Hub in the secure workspace and the personal workspace , it shows the same content. Based on the docs Blackberry Hub for two workspaces must be different from the other.

    Can someone BlackBerry shed more light on this. I'd put logs with more information later with App running in secure work space and personal work space.

    Hello

    I received a reply from Blackberry on this issue. It all depends on how you define the work and personal work space. The setting is based on Blackberry Enterprise Server 10. Here is the pdf file

    http://Br.BlackBerry.com/content/dam/BlackBerry/PDF/BB10-regulated-EMM-datasheet.PDF

    Balance: Personal and work

    Regulated balance: personal and work but work has access to the PIN, sms etc.

    Direction: Work only. Work has access to everything.

    Under regulated enterprise-level mobility Blackberry 10 management control and setting , you will see different options for allows PIN SMS work or space. And then I guess her you should be able to have access to the PINS as well as SMS messages.

    I can confirm this once I have test the build that I have developed.

  • Workspace BB10 blackBerry 10 vs personal space: can it be established in a telephone use only personal?

    Can someone who has a BB10 phone for personal use only still set up a "workspace" on their own. I want to say without needing a company account? It seems to me that it might be useful for the partitioning of different types of activities on the other.

    The phone must be run on a BES10 server for it to have a space to work on it. No BES10 server does not have personal space only.

    See you soon.

  • Is it possible to create a personal space by logging in with username and password?

    Hi all

    Is it possible to create a personal space by logging in with the user name and password?

    in the Web of Muse site

    Thanks in advance for any response

    Hello

    A related thread for more ideas are

    Login using Muse and British Colombia page

    Re: Can I create a login/password in the Muse for a HTML5 page or two?

    How to create an entry page protected password for a site of muse?

    https://forums.Adobe.com/thread/1175323

    Hope this helps

  • Send Login (info by user name and password) of personalized spaces Portal

    Hi all

    I'm sorry if it's a very easy thing. I need to send the user name and password the user has entered since my portal personalized spaces, so that the user will not see the spaces landing page. Is this possible? My portal will be used only for public purposes.


    Edit: I guess I was not clear enough. My creator gave me a very good page departure for the portal. And I don't want to damage it. So I want the user of credentials concludes its portal page and send it to the opening of spaces, move the landing page of the spaces, so that the user does not see useless screen.

    Thank you all.

    Published by: cenkozan on April 30, 2012 02:52

    Hello.

    You need a mechanism for Single Sign On between your Portal Application and your application spaces.
    If you have licensed Oracle OAM, use it to achieve. However, if you do not have Oracle OAM and then build your own SSO according the following ideas:

    -Write a cookie encrypted after you login to your portal.
    -Create your own IdentityAsserter spaces of domain to check the user encrypted.

    Kind regards.

  • Group space and personal space are not

    Version: 11.1.1.4

    When I connect to the WebCenter spaces as an administrator, I don't get the option of creating a group space. I get links for Favorites, Logout, help, administration spaces but not for the space group. Why is it so. I have all the tutorials for WC, these options are available, but when I want to explore space group I can't do both in the WebCenter spaces.

    Also, is it possible to create spaces for group to one custom space created (other than default webcenter space)?

    The pointers/help appreciated.

    I think that in the WC 11.1.1.4, concept of space is used. I do not see any group or personal spaces in my ps3 app Webcenter. All we can do is create a business role or sub-areas or space pages and assign the role or users. In this way we can decide it will be personal or belong to a group.

    Concerning
    Prasath.C

  • ButtonField personalized with images

    Hi all

    I am trying to create a custom ButtonField, I'm unable to remove the background gray color. Could someone tell me what's wrong with this code?

    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.FontFamily;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.component.ButtonField;
    
    public class BigButtonField extends ButtonField{
    
        private int backgroundColour = Color.BLACK;
        private Bitmap button;
        private Bitmap on = Bitmap.getBitmapResource("onbutton.png");
        private Bitmap off = Bitmap.getBitmapResource("offbutton.png");
        private int fieldWidth = Graphics.getScreenWidth();
        private int fieldHeight = 31;
        private int buffer = (Graphics.getScreenWidth() - 105) / 2;
        private String text;
        private Font fieldFont;
    
        public BigButtonField(String _text) {
            super(Field.FOCUSABLE);
            this.text = _text;
            button = off;
            fieldFont = FieldFont();
        }
    
        public String getText() {
            return text;
        }
    
        public void setText(String text) {
            this.text = text;
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return true;
        }
    
        protected void onFocus(int direction){
            button = on;
            invalidate();
        }
    
        protected void onUnfocus(){
            button = off;
            invalidate();
        }
    
        public int getPreferredWidth() {
            return fieldWidth;
        }
    
        public int getPreferredHeight() {
            return fieldHeight;
        }
    
        protected void layout(int arg0, int arg1) {
            setExtent(getPreferredWidth(), getPreferredHeight());
        }
    
        public static Font FieldFont() {
            try {
                FontFamily theFam = FontFamily.forName("SYSTEM");
                return theFam.getFont(net.rim.device.api.ui.Font.BOLD, 14);
            } catch (ClassNotFoundException ex) {
                ex.printStackTrace();
            }
            return null;
        }
    
        protected void drawFocus(Graphics graphics, boolean on){
            //
        }
    
        protected void fieldChangeNotify(int context){
            try {
                this.getChangeListener().fieldChanged(this, context);
            } catch (Exception exception) {
            }
        }
    
        protected void paint(Graphics graphics) {
            graphics.drawRect(0, 0, fieldWidth, fieldHeight);
            graphics.fillRect(10, 0, fieldWidth-200, fieldHeight);
            graphics.drawBitmap(0, 0, fieldWidth, fieldHeight, button, 0, 0);
            graphics.setColor(Color.BLACK);
            graphics.setFont(fieldFont);
            graphics.drawText(text, ((fieldWidth - fieldFont.getAdvance(text))/ 2) - 70, (fieldHeight - fieldFont.getHeight()) / 2);
        }
    }
    

    Please provide your suggestion. If you have any other sample for buttonField customized by using bitmap then please share here.

    Buzz.

    Hi all

    I found the solution myself.

    1. I spread "Field" in my code, which removed the gray area of the background.

    2. I added a FieldChanglistner to the customed button whenever I use it.

    Yet once again thanks to you.

    Buzz.

  • I can not print complete E-Mail due to the space occupied by the personal dashboard. The right side of the screen is taken by the dashboard. How can I remove the dashboard, that is to say, the column to the right of the screen?

    There is not enough room for the message between folders on the left and the (advertising) dashboard on the right.  Therefore, I often use the slide bar on the bottom of the screen to read the entire lines of the message.  For this reason, I can not print a full e-mail.

    How can I eliminate or reduce the dashboard?

    The ads are not visible under the eyes. Click the button in the toolbar of the message header in the reading pane:

    Le The full view button

    To print the message alone, click the three dots in the command bar and select print.

  • The distinction between personal and professional space

    Is there a way to distinguish (whether by an event or by looking at a property) if the environment is currently operating in personnel or in the workspace?

    I don't think that there is an official way, but you could watch the House app path...

  • MacBook air, lack of available disk space

    I have a 2015 macbook air, 128 GB version. yesterday, I got about 50 GB of available space, today I noticed, it was reduced to a mere 14 GB. I have not downloaded anything significant. Looking at my storage, all the missing space is classified as 'other '. How can I recover my memory or see where provenance?

    It is possible that the figures are false. So, if re-indexing can fix it: https://support.apple.com/en-us/HT201716

    The following persons also have the information that can help:

    OS x: what is 'other' space about this Mac? -Apple Support

    What is 'Other' and what I can do about it?

Maybe you are looking for