Multi line Option in the drop down.

Hi all

I have a drop down with 5 Options.

Option: http://developer.blackberry.com/native/reference/cascades/bb__cascades__option.html

I put the text on the Option object using its setText property.

But the text on my options is very long.

Thus, it is truncated.

I don't want that; I want the statement to be visible to the user.

I tried to put ' \n's in the text, nothing happens.

Documentation of the Option went through, but did not find anything useful.

Help, please!

Kind regards.

There is no drop-down list or custom multiline, but you can get the same results with a custom selector...

http://developer.BlackBerry.com/native/documentation/Cascades/UI/pickers/custom_pickers.html

Tags: BlackBerry Developers

Similar Questions

  • Command to refresh a calculated field when you select an option from the drop-down list box

    When my form user selects an option in a drop-down list box, the value in the field (in this case, Total) I would like to update, but it isn't.

    A radio button option box makes the Total-development field to automatic update when the user clicks on the radio button. But the drop-down list box is not updated Total (without clicking away from the field). I would like to add a command in the Combo Box to refresh the Total field when you selected the option to drop-down list box.

    Someone at - it a code (Javascript?) to get there.

    Thank you very much.

    You don't need a script, simply select the 'Value selected to validate immediately' checkbox on the Options tab of the dialog list box drop-down list box field properties.

  • No Format option in the drop down file on the CD player

    Acer Aspire 32-bit Vista Home Premium 320 GB H/D. I am not able to format a disc that I put in the CD E: drive. It is not in the drop-down menu drop-down or in the upper part. I don't know what to do and I'd be grateful for any suggestion. Thank you very much

    John.

    You cannot format a normal CD (CD - R).

    The only CD that can be formatted is the CD - RW (CD rewritable).

    However, you can format a hard drive.
  • Verification of the text field problem and requiring an option in the drop-down field

    I have a form with several fields that if the user enters information in one or more of the

    fields, I need to check that the drop-down list field is not empty.

    I got this to work, but now I find that if the user deletes the text in the text field, the user always receives the error message. Here is the script I use:

    If

    ((form1.page1.ListFilesFolders.rawValue) ! = null & & (form1.page1.windsNtwkAccess.rawValue) == null);

    {

    xfa.host.setFocus (form1.page1.windsNtwkAccess);

    xfa.host.messageBox ("Please make a selection in the field of Windows network."

    , 'Need to selection' , 1 , 0);

    }

    Thank you

    MDawn

    Makes sense... the field is null when the user deletes the text. You could put a white in these areas as default values and test for this instead of null. Now, when the user empty field, it will be null and will not empty so that the message will not appear.

    Make sense?

    Paul

  • How can I add multi line selection in a drop-down list

    I just started with Acrobat DC. Everything is simple, until it isn't. I try to add items to my drop-down list. It's easy. I'm trying to make the choice of multi line. It is an inspection report and the choice will not fit on a single line. So after making the choice, can not read the answer. Thank you-Tim

    It is possible to do it, but only with a script and it's a kind of buggy. In other words, not really a good idea.

  • How to dynamically add an Option in the drop-down list?

    I have this code:

    {Drop-down list

    ID: list

    Title: 'list '.

    onCreationCompleted: {}

    opion var = new Option();

    opion. Text = "Hello";
    opion. Value = 4;

    List.Add (opion);

    }

    }

    After the launch of the application, the list is empty.

    Why my code does not work?

    It is easy to dynamically add options

    first add this to your attachedObjects:

    ComponentDefinition {
                id: optionDefinition
                Option {
                }
            }
    

    then do something like this

    var newOption = optionDefinition.createObject()
                newOption.text = ...
                newOption.value = ...
                newOption.description = ...
                newOption.selected = ....
                yourDropDown.add(newOption)
    
  • Options in the drop-down list in HTML/PDF output using Adobe InDesign.

    Hi all

    Can someone tell me how to make a drop down feature list using InDesign options?

    Output is HTML & PDF...

    My requirement is like by placing the cursor on the text or images, the dropdown list should appear in the output.

    Any help would be appreciated.

    Thank you

    Aravind

    Your example is a context menu and is usually scheduled as part of an operating system or application, with the choice of the menu that offers other functions of the application. It would be really handy create this kind of feature for a standalone PDF document.

  • Options from the drop-down tab

    Is there a way to create a drop down tab menu? When I add more than three tabs in the pane to tabulate the other menus are added to a sidebar. I also tried a SegmentControl but it cannot display more than a certain number of controls (depending on the size of the text to each control).

    I would like to create a tabbed pane that displays all of the tabs at the bottom of the screen and then use horizontal scrolling to display the tabs that are not displayed on the screen.

    I managed to create a container to scroll with a left to right orientation containing the buttons, but this does not create the look and feel, I am looking.

    Any advice? Thanks in advance.

    I found a solution. I created a CustomComponent because I could not all navigation components available to work like I wanted it manipulates.

  • Can not see the "wireless connection" option in the drop-down list in 'sharing' under the ics. Trying to establish an ad hoc connection.

    I'm trying to set up an ad-hoc connection between two laptops. I created a network. When I right click and select Properties. On the sharing tab, there is a check box for "allow other users to connect to this network. Below that, there is a drop down menu to "connecting home network." My problem is that I can't "wireless connection" under this sow drop andhence cannot establish a connection. Help, please! Using windows 7 64 bit home premium and have ralink 5390 adapter. I have internet through a wireless internet service provider. I use "Reliance Netconnect + wireless internet".

    Hi Amit,

    Please refer to this link and check if this helps you,

    Set up a computer-to-computer (ad hoc) network:

    http://Windows.Microsoft.com/en-us/Windows7/set-up-a-computer-to-computer-ad-hoc-network

  • How to deselect the default option in the drop-down list in Adobe Pro XI?

    I know how to change the default option in the properties, but I don't want that there is a defect at all. When the user opens the form, I want the empty fields.

    What is the problem with the simple addition of an option that is an empty space?

    Press the space bar and click on the button 'Add '.

  • Where did the libraries option in the drop-down menu window?

    CC running and trying to create a library for a specific project, but the option is not present in the PS or Illustrator. Have tried yet research on google and adobe, but not luck.

    Someone else had the same problem?

    Is there any solution for this?

    My apps seems to be up-to-date and cloud is apparently functional.

    Looks like I answer to myself.

    Took me some time and a lot of trial and error to find the solution.

    Apparently the Adobe Application Manager was altered and reported everything to be up-to-date.

    I had a previous cs6 desktop installation when I installed CC. This must have caused havoc.

    After you have uninstalled CS6 and everything I had installed CC, I ran the Adobe cleaner.

    Then a new installation of CC and voila! Everything works as it should again.

  • How can I print to PDF - it is not listed as an option in the drop-down list?

    I can't find how to add PDF printing to file option... Help, please.

    Thank you!

    Hi yourmom11,

    If you want to print in PDF format, you need Acrobat. Please see print to PDF Windows 7, Vista, XP, Mac | Adobe Acrobat XI.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • Update from the drop-down list on the duration

    Hello, I'm fairly new to Java and Blackberry development.

    I am doing an application with a few editable text fields and drop-down lists. What I want to do is to change the options from the drop-down list (ObjectChoiceField), according to what is written on the text fields, all without pressing a button. Can someone give me a hand here? I thought to use invalidateAll to redraw the field, but I'm not sure.

    Thank you.

    OK, something else, this looks bad for me:

    your having

    unitChoiceField.setChangeListener (editListener);

    But editListener is not defined until after that, so with that statement, you're

    the listener of null changes.

    Put this line after you set your headset to changes.

    Also we say something "does not work", is not very useful.  If please do some debugging and tell us what he does not she should do this, rather than saying that it does not work.  Imagine that you took your car be fixed and told them that it did not work.  Would they be able to fix it?

  • Unable to choose in the drop-down list

    I don't know what his name, so I'll give an example. I go on YouTube and open my subscriptions & playlist. I push the tab more, and I can see my other titles of the playlist. When I try to type on one of the titles, the option button close. I can not open & take an option on a website. If I have the chance and I was fast enough to push an option before the box closes it will open the file or the site without problem. I tried double tapping on the option button to keep it open, but it never works. Anyone know how to fix this?

    Hello

    Thanks for posting on the Microsoft community.

    If I have understood correctly, you are unable to choose an option in the drop-down list.

    If you have another browser option, I suggest that you try to open the particular website on this browser and see if it works.

    Please perform the following methods to resolve the problem, if you use Internet Explorer as your browser:

    Method 1:

    This can be caused because of compatibility problems with the Web site. Then I suggest that you try to open the Web site in compatibility mode.

    Check out the following link to open a website in compatibility mode:

    http://Windows.Microsoft.com/en-us/Internet-Explorer/use-compatibility-view#IE=ie-11

    If this does not work, try Method 2.

    Method 2:

    Try resetting Internet Explorer.

    Note: By resetting Internet Explorer settings, return you it to the State wherever it was when it was first installed on your computer. This is useful to solve the problems that could be caused by the settings that have been changed after installation.

    Warning: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings. Also re - activate the Add-ons.

    Check out the following link and follow the steps to reset Internet Explorer:

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

    I hope this helps. Feel free to answer us back with the results.

  • Defining form fields such as required based on the entry in the drop-down list

    I'm trying to set the properties of a few form fields as required in the case of a specific value is selected from a drop-down list.

    I entered the code of the tab actions from the drop-down list properties below > mouse down > run a java script. The problem is that it works only if I come out and enter again the drop-down list. "I tried to invoke the code with"Mouse down","Mouse entry", out of the mouse ' none of them worked unless I go out and again the drop-down list.

    Any suggestions?

    Thank you!

    var devused is this.getField ("device");.

    var comptype is this.getField ("Type of complaint");.

    var proname = this.getField ("product name");

    var feels = this.getField ("sent to the sponsor");

    If (comptype.value == 'Associated Product complaint') {}

    devused. Required = true;

    proname. Required = true;

    smells. Required = true;

    }

    else {}

    devused. Required = false;

    proname. Required = false;

    smells. Required = false;

    }

    What you describe is the way documented in what forms Acrobat and Acrobat JS behave by Form Event Processing

    For your described form, we can use a custom format for the field drop-down list script:

    If (event.willCommit! = true & event.changeEx! = "")
    {
    var devused = this.getField ("device");
    var proname = this.getField ("product name");
    Envoy of var = this.getField ("sent to the sponsor");
    Switch (Event.changeEx)
    {
    case "related product": complaint
    devused. Required = true;
    proname. Required = true;
    smells. Required = true;
    break; Go at the end of the switch;
    Repeat fdor each value of the option in the drop-down list.
    by default:
    If no match for the above cases, it is found;
    devused. Required = false;
    proname. Required = false;
    smells. Required = false;
    break;
    } / / end of switch event.changeEx;
    } / / end not true willCommit;

    You must set the ' Commit selected value immediately "and as one moves upwards or downwards the options, the related fields will change and stay together when you exit the field note that the field name is not used in the script because the field is the event object until it leaves the field.

Maybe you are looking for