ObjectChoiceField customized for beautiful

We know the value default ObjectChoiceField looks like not very good in BB, so I want to create a new ObjectChoiceField custom, the sample image is as below:

Who can tell me how to implement this, the default list of ObjectChoiceField, which we cannot change, if we need to use a new field to implement anyone can give me some ideas, thank you.

You don't have to use the popup screen.

You can build your own screen, for example its extension off the screen.

Then in your form, you can define the position and scope in the method sublayout.

  protected void sublayout(int width, int height)
  {
                int myWidth = width - getMarginLeft() - getMarginRight();
                int myHeight = height - getMarginTop() - getMarginBottom();
                int myX = getMarginLeft();
                int myY = getMarginTop();

                // layout everything within this screen
                layoutDelegate(myWidth, myHeight);
                setPositionDelegate(0, 0);

                int delegateHeight = getDelegate().getHeight();

                if (delegateHeight < myHeight)
                {
                        // do a vertical center
                    myY = (height - delegateHeight) >> 1;
                    myHeight = delegateHeight;
                }

                // set position and extent
                setPosition(myX, myY);
                setExtent(myWidth, myHeight);
}

This is just one example.  It works for my drop-down list control.  I simply only have so much space that my margin is on the borders.  You will probably need to change it works for your case.

When you press this screen using pushScreen, if you set the position/measure so that it does not cover the entire screen, you should always be able to see the screen below.

Tags: BlackBerry Developers

Similar Questions

  • "Use setting customized for history" in the tab privacy options in firefox version 19.0.2 does not work

    When I select 'use custom for history setting' in the Privacy tab and press OK button nothing happens. He returned to the story to remember. I have Windows 7 and firefox 19.0.2.

    A problem that results is firefox remember now username and password on a new gmail account.

    The problem started with the latest revisions to Firefox. In the past, I've saved usernames and passwords on multiple accounts gmail without problem.

    As a result, I had access to the gmail accounts in another browser to save all my gmail account IDs and passwords.

    Any suggestions on how to remember passwords and usernames gmail again? and/or get "Use Custom setting for the story" to work? Thanks for your help

    I had the same problem this is how I solved it
    Tools > options > saved passwords > locate the corresponding site, you will see that the user name is missing highlight and delete.
    Back to the site log in enter your password and you will then be asked to save it... That's fact

  • Why is there not an option to create a custom for a simple telephone touch label?

    Why is there not an option to create a custom for a simple telephone touch label? 9. new version of iOS.

    There are. What makes you think there isn't. When you click to add a phone number, click label, and then scroll down to Custom. Type away.

  • I neeed an example of a device custom for brushless control throught Canopen communication

    Hello

    I want to do a custom for brushless control throught communication Canopen device, I don't know if I could find an example to start

    I have the following equipment:

    -Maxon Brushless Motors

    -By car Epos2 24/5

    -OR PXI 8531

    -NI PXI 8135 RT controller

    I have labview 2012 and 2012 veristand

    Thanks for any help

    Hi Mohamed,

    It's Vincent of National Instruments. We will discuss that off-line.

    What we provide, it is unlikely that we could provide something that is exactly directly to your EPOS readers.

    CANOpen is a standard and we can provide Custom-device for CANOpen. Based in this Custom device, you configure it for your needs.

    Concerning

    Vincent

  • How to create a custom for a VI help?

    Hello

    I was wondering, how can I make a custom for a vi help, I did?  I can't find anything here about this...

    Thank you!

    Hello

    Open the LabVIEW help and read the section "Documentation and impression of screws.

  • Creating a custom for the current scale

    Hi guys,.

    I need help in the creation of a custom scale. I read motor current (analog I / P) and I want to show that on a chart and write it to a file. I need to use a linear scaling for custom scale. The slope is 2 and the intersection point is 0. I have attached the code to clearly indicate what I'm currently building. The way I put up right now, it's not the scaling. It has 2 spots in the code. I would like to create a custom for the first task, as in the attached code scale. I had a scale customized using VI to Express DAQ Assistant. But I do not see these options when I try to do the same with the DAQmx task. Please let me know how this can be done. Any help is greatly appreciated.

    Thank you

    REDA

    Ah.

    on the pallate DAQmx > advanced > the balance settings

    There is a scale property node and "Create Scale.vi"

  • custom for bb10 extensions

    can be customized for bb10 extensions just with java?

    It's true.

    Extensions are now written in C/C++.  Here's the documentation https://developer.blackberry.com/html5/documentation/creating_extensions_for_bb10_apps.html

  • ACS 5.2 - Adding custom for Juniper Netscreen GANYMEDE + authentication attributes

    Hello

    I'm trying to add custom for authentication Juniper Netscreen GANYMEDE + an ACS v5.2 attributes. The notice is to add it to the group as follows:

    ervice = netscreen { vsys = root privilege = read-write }

    I know how this adds a version v4.x ACS

    However, I do not know how to apply this to the attribiutes custom to an ACS v5.x

    Can I add the vsys and privilege attribute separately or together? What should be the attribute name? NetScreen? Should it be mandatory?

    Advice please

    Make groups of different volumes and shell authorization profiles mapped to different profiles fixed my problem BTW.

    This is the configuration I did for Juniper. I'll try the netscreen (last photo) later today ' today/tomorrow

  • BlackBerry smartphone customized for an individual contact ring

    I added a ringtone custom for one of my contacts. I used one of my music like her songs. When this contact calls now or what my phone plays the General Bell and not the why of a custom?

    Click on this link for the answer.

  • Philips SPC220NC webcam how to download customs for webcam

    How to download customs for webcam

    Hello

    1. What is the problem with the webcam?

    2. you use the webcam for the first time?

    3 do you want to download the drivers for the webcam?

    I suggest you follow the link below to download the drivers for the webcam from the manufacturer's website:

    http://www.P4C.Philips.com/cgi-bin/dcbint/cpindex.pl?CTN=SPC220NC/00&scy=GB&SLG=en

    I hope this helps.

  • Facing a problem with writing the custom for WLS identity assertion provider

    I am facing a problem with writing the custom for WLS identity assertion provider.

    Requirement:

    Asserter identity configured in WLS should get called when the following cookie is sent in a request by my application
    cookie name: OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I added the name of the cookie as a token of support and Active token in WeblogicCustomIdentityAsserter.xml

    < MBeanAttribute
    Name = "SupportedTypes.
    Type = "java.lang.String [].
    Writeable = "false".
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >
    <!-ActiveTypes attribute contains the subset of your mbean SupportedTypes who are active in the area. ->
    < MBeanAttribute
    Name = "ActiveTypes".
    Type = "java.lang.String [].
    Default = "new String() {& quot; OAMAuthnCookie_blr1234567.idc.oracle.com:7777 & quot ;}.
    / >

    Problem:

    Identity asserter provider is not invoked for the request that has the cookie named OAMAuthnCookie_blr1234567.idc.oracle.com:7777.

    I did some experiments with the cookie name, to see where the problem could be

    Identity asserter provider is triggered for the following cookies:
    OAMAuthnCookie_blr1234567.idc.oracle.com7777.
    blr1234567. IDC. Oracle
    blr12_XXX. IDC. Oracle.com

    and it does not work for cookie name - OAMAuthnCookie_blr1234567.idc.oracle.com:7777

    I think that the name of the token supports not the colon. I don't have control over the name of the cookie, two points will always be

    Tried it with giving the name of the cookie after the encoding of the colon

    < MBeanAttribute

    Name = "SupportedTypes.

    Type = "java.lang.String [].

    Writeable = "false".

    Default = "new String() {& quot; OAMAuthnCookie_blr2211441.idc.oracle.com & #58;. 7777 & quot ;} »

    / >


    But still does not work
    Am I missing something? Any help will be appreciated.
    Help, please!

    colon ': ' is an illegal character in the name of the cookie.

    RFC 2616, Section 2.2 says:

    token = 1 *.

    separators = "(" | ")" | " <" |="" "="">" | " @"

    | "," | ";" | ":" | " \" |<">

    | "/" | "[" | "]" | "?" | "="

    | "{" | "}" | SP | HT

    It is clear ":" a "separator" and thus not allowed in a token or a cookie name.

  • VMWare ESXi6 standard ISO vs VMWare ISO customized for HP

    Hello

    One of my clients uses VMware ESXi 5.5 on their HP BL465c Gen7. They have no driver problems.

    Now, as they migrate to the ESXi6, they think its OK to go with as before ISO instead of the one customized for HP servers.

    Anyone could shed some light on this.

    I guess it worked because the server was in ESXi HCL.

    Is there something beyond pilots to use ISO standard HP.

    What is VMware recommendation when it come to support.

    Kind regards

    MJTS.

    Hello

    Yes, go with the RESUME on ISO measure as Hardware drivers and firmware are interdependent with OS ESXi and secondly if you try to upgrade the ESXi then yes HP image will be more advantageous in regards to the latest firmware and drivers.

    Looking for a support point of view, I guess that HP has a tie with VMware on racks if necessary, or else you can get direct support two vendors too.

    You can download the Image--> Download VMware vSphere

    You can consult the HP VMware's Certification and Support--> compatibility matrix | HP®

  • How to share a library of stock with a customer for approval before buying?

    How to share a library of stock with a customer for approval before buying?

    Hello

    Please see How to use Adobe Stock with CC libraries | Tutorials Adobe Creative Cloud

    Hope that helps!

    Kind regards

    Sheena

  • I have just enough adobe, I've been a customer for years - but not at $50 per month.  Who do you think you are?

    I simply stop adobe, I've been a customer for years - but not at $50 per month. I wonder how Adobe will recover its reputation?

    Penelope Torribio

    If you have a compatible computer and operating system, you can always get CS6 for a time cost creative Cloud now includes Creative Suite Master Collection and Design Premium features

  • I need a culture customized for my site, I work with a minority language, and I need to have calendar dates in this language. Is this possible with a widget in Muse?

    I wonder if there is no way to do a culture customized for my site hosted with BC's domain? I work with a minority language, and I need to have calendar dates in this language.

    Is this possible with a widget in Muse? -to change my language in this particular calendar, t.i.: may is in my language, and Monday is my language

    This stuff is usually coded in the underlying JavaScript widget, derived from locale hard your computer or browser / language setting or gleaned from the respective server configuration information, so most likely, it can not be done, if not already covered by one of these methods. Hacking jQuery would of course always possible, but the other options are beyond your control, anyway.

    Mylenium

Maybe you are looking for

  • Database/list of iMovie Audio followed?

    In iMovie, you can scan/see the list of formats of title and transitions, but there is a long list of Audio effects and tracks, with lengths, etc..  Anyone know if Apple released a printable version of the list, or if a user has entered to the top an

  • Satellite Pro 6100 - how to change the date and time in the BIOS

    Hello I received a satellite pro 6100 that had not been used for some time. Windows does not work then he reinstalled with the good drive. When I try and windows 'enable', I get the error 32777 and the laptop is unable to connect with the activation

  • Inspiron desktop PC (3847, early 2013), User Guide?

    I just bought a Dell Inspiron 3847 with Windows 7. Only, it came with a Quick Start Guide. I went to the Dell website and print the user manual. This isn't what I'm looking for. This guide shows how to take the computer apart and back together. I tri

  • Opacity

    Hi, I want to turn the opacity down in this image, but only to a certain place, how can I do this without the y bring the entire lower third?

  • Why I can't install CC animate?

    Hello!Why I can't install CC animate?Adobe Creative Cloud always give me install 'Adobe Flash Professional CS6 and packaging of the Mobile device.