Combo Boxes....again but straight answer required.

Okay so the follwing code:
oItem = oForm.Items.Add("oCombo2", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
                With oItem
                    .Height = oXPlaneItem.Height
                    .Width = oYPlaneItem.Width
                    .Left = oYPlaneItem.Left
                    .Top = oXPlaneItem.Top
                    .DisplayDesc = True
                End With
                oCombo = oItem.Specific
                oCombo.DataBind.SetBound(True, "", "U_Status")
                oCombo.ValidValues.Add("1", "Live")
                oCombo.ValidValues.Add("2", "Got")
                oCombo.ValidValues.Add("3", "Lost")
                oCombo.ValidValues.Add("4", "Didn't happen")
Results in a combo box that once selected shows the description only - GREAT!
BUT...... when selecting from the combo box the lists shows VALUE - DESCRIPTION (i.e.   1      -      Live), Can this be changed to just show the description.
Apologies if this is answered in another post but I was looking for ages and the difference between selected and combo box selection descriptions was never dictated.
Dave A.

Its not possible to show only the description.
Vasu Natari.

Similar Messages

  • I had a Javascript 'alert' box appear on a page I am developing, and clicked on the tickbox to hide further dialogue boxes from that page. Now I want to see the alert boxes again, but I can't find a way to make them appear. Please can anyone advise?

    I have tried the following so far:-
    * Restart Firefox
    * Erase all cookies for the webpage under deveopment
    * Search 'Options' for an applicable setting
    * Looked in about:config for an applicable setting

    Firefox 7.0.1 wiped out ability
    * to test JavaScript from the location bar, say goodbye to JavaScript tutorials
    * invoke JavaScript in any manner from the location bar, either directly or with a keyword shortcut.
    * resize or move windows with JavaScript
    See bug references in
    *http://kb.mozillazine.org/Resizing_oversize_window
    As a result
    *I can no longer place windows on screen where and how I want them.
    *Can no longer test/modify/fix at the location bar from code such as in the MozillaZine page above.
    Design a browser for idiots and only idiots will want to use it.

  • Is there any limit to the no.of items to be displayed in combo box

    I would like to know is there any limit to have the list of items to be displayed in a combo box.
    My requirement is to show the list in 2nd combo box based on the selection of an item from 1st combo box. But if I select an item from first combo box, then second combo box is not showing the list of dependent items in case the list exceeds 10.

    I'm not sure if there is a limit but if there is its definatley higher than 10.

  • Locating on a location on GMap using combo box using SDK

    Hi All,
    I have a requirement to locate a city on google map using combo box. I want name of cities to appear in combo box and on selecting a city, map should be able to locate that city. This combo box will be visible on map itself. Combo box can be a component of either Xcelsius or Flex Builder.
    I think combo box dragged from Xcelsius component panel not able to communicate with google map which is embedded in form of swf through manage and packager.
    So, I tried with Flex Builder combo box component, but not able to done it. I am not getting the flow how to communicate between combo box and google map.
    I can locate a particular city giving a latitude and longitude through propertysheet.
    Please, if anyone could help me out asap.
    Thanks in advance!

    Hi Monammed,
    The said functionality should work. Please check your logic one more time. Also, try using some spreadsheet components mapped to the cells in question and understand how the data is flowing during run-time. This will help you test things. Delete spreadsheets when you are done with identifying the issue.
    Lets check the combo box mapping one more time : Map the source of the combo to the entire range; labels in the combo box ONLY to the country column in the source range(typically this may be the left most column in the range); selected item should be mapped to the cell that has the destination for the icon and the type for default selection may be dynamic. Well, if there is any hard-coding of values involved anywhere, do check the spellings and other trivial things.
    Do let me know if this was helpful and if you need any more help.
    Thanks,
    Prasanna

  • Flash combo box component

    I have created an application that requires the flash combo
    box component but i dont know how to code it. Any help?
    I want each label to goto a certain frame when clicked.
    Jak.
    Cheers if you can help

    Drag a combo box onto the stage.
    Give it an instance name (myCombo)
    Click properties and add the labels
    Add the frame numbers you want to jump to as data
    Add to frame actions

  • Combo box not behaving like it should

    I have a form in which I have 4 combo boxes that have more or less the same choices, however there is one that is common to all 4 (E078).
    When "E078" is selected in any of the combo box, a new combo box will appear (and a white rectangle will be hidden so that the new combo box title can be seen). It works when I select that in one or more combo box, however to make it disappear I have to select some other choice in the same combo box twice!!! If I select anything only once, it will not make the new combo box hidden, but if re-select something (same or another choice) then the combo box will disappear!
    I am at lost, and would be very thankful if someone could make it work seamlessly. I mean it works, nut it is just inconvenient and I cannot tell the user to make select something else twice if they want the field to disappear.
    Here is my form:
    https://workspaces.acrobat.com/?d=WjF6aV8IUuBX2w8iZN3k0g

    When you use event.value in a combo box's Validate event it does not give you the export value, which is what you want. It is easier to use place the code in a custom Keystroke script where you can use the event.changeEx property to retrieve the export value of the selected item. See the documentation for more information: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.607.html

  • Plotting a combination chart with a combo box for selection

    Hi:
    I am a newbie using xcelcius and I need help on the following:-
    I need to create a combination chart that plots 3 years data by month, and I need a combo box selection at the top that allows me to select user display for each difference region. I manage to create one that plots only 2008 data with a combo-box selection, but I have no idea how to do it for a combi chart in xcelcius. Any advise?

    Hi Ning,
    I assume your data are like this:
    Region             Year     Jan     Feb     Mar
    APJ             2006     $234.45     $310.34     $321.54
    APJ             2007     $314.35     $319.12     $256.89
    APJ             2008     $425.54     $354.34     $285.73
    North Asia     2006     $534.64     $642.35     $484.64
    North Asia     2007     $631.74     $654.13     $754.34
    North Asia     2008     $754.31     $423.65     $634.32
    South East Asia     2006     $536.42     $576.35     $525.42
    South East Asia     2007     $426.78     $876.43     $643.75
    South East Asia     2008     $634.87     $425.77     $732.43
    If this, you can set the insertion type of combo box is "Filtered Rows", see steps:
    1) For Combo Box, bind General > Labels to the Region column.
    2) Set General > Data Insertion > Insertion Type is "Filtered Rows" (you can refer to following flash to see how "Filtered Rows" works).
    3) Set its Source Data are Year, Jan, Feb, ... columns and Destination to blank cells.
    4) Bind Chart to the destination data.
    Now when you select APJ from Combo Box, it will insert all the rows of APJ data to the desitination cells which will be displayed in Chart.
    Hope this can help!

  • Combo Box In QueryComponent

    Hi,
    I am using a programmatic view object in adf query component and have created List of values for one attribute by adding another programmatic ViewObject as ViewAccessor. In the Ui hints of that attribute i made list type as Combo Box. To populate the combo box, have overwritten the executeQueryForCollection of the ViewObject.
    With this appraoch am able to return the list of options(texts) to be displayed in combo box. But am not able to decide the value for each option in the combo box. System assigns zero based index as the values for options.
    Please some one tell me that Is there a way to define value for each option diplayed in the combo box.
    Thanks in Advance,
    Vivek....
    Edited by: Vivek Singh on Oct 22, 2009 10:11 PM

    You're catching Exceptions in empty catch() blocks. There might have been an exception, but you won't know if the catch block doesn't do anything.
    Try something like this:
    catch(SQLException e){
        System.err.println( "Problem with db query"+e.getMessage() );
        e.printStackTrace( System.err );
    }in order to see what's going wrong with your code.

  • Adding multiple separators in combo box

    i want to add multiple separtors in my combo box items but i can add - Value in the items list only once so i get only one separator, how can i add multiple separators in combo box items
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

    Tushar Jambhekar wrote:
    I tried that already, but it doesnt work
    Works fine here:
    Actually, I would argue that this is a bug in the editor, which should ingnore duplicate hypens if they have a special value.
    Try to take over the world!
    Attachments:
    Combo.PNG ‏13 KB

  • Cant make a list/combo box that enters a different value to what you chose

    Hi Any help will be very much apreciated,
    Iv been turning my timesheet into a P.D.F form for filling out it started as an excell spread sheet and iv bassicialy just put txt boxs over the fields that need filling in and if made the "total" box add up all the hours so its great so far
    but the problem i have is for the Premises number section i want to be able to give the user a selection of all the properties but have a number entred into the actual fields for example... you chose "smiths road sainsburys" from a list but the job number "1234" is entred into the form for printing/sending
    Thanks anyone.

    If I understand what you want, you can use a text box in addition to a combo box for this. For each item in the combo box, set its export value to the number you want. Then in the text box that will display the number, use the following custom Calculate script:
    event.value = getField("combo1").value;
    Replace "combo1" with the name of the combo box.

  • Padding on combo box

    I am trying to increase the top and bottom spacing on button and combo box type components using CSS, assuming that the same font and font size is used then I would like the components to all be the same height. However, I have run into a couple of difficulties.
    Firstly, I can't find a way to pad combo box and choice components. The following CSS will size the combo box correctly but push down the selected cell text.
    .combo-box .list-cell {
    -fx-padding: 6 6 6 6;
    Padding around the arrow button doesn't seem to work either. Secondly, adding a graphic node to a button or menu button increases it's size by 2 pixels. Am I missing a property somewhere?
    The current CSS can be found at: https://github.com/JFXtras/jfxtras-styles/blob/master/src/brume/brume.css
    Many Thanks
    Andy

    I am trying to set the height as part of the skin so no extra changes are needed. Some controls allow it but combo box doesn't seem to, wondering if the other controls allow it by coincident but this isn't the intention for CSS.

  • Anyone advise me on how to save and recall the satate information of a cluster of combo boxes?

    I have a set of combo boxes saving a devices state information. I would like to save and recall all the selections. I know there are properties to access the selected items, but searching about, I'm not sure the technique to do this. I would like to save/recall in XML format. I made an attempt and it saved the combo box data, but not the selections. Thanks for any help.
    Solved!
    Go to Solution.
    Attachments:
    TestStateXmlSave.vi ‏22 KB

    I'm not sure what you mean by a bool of array.  There are no booleans in your program from what I can see.  If I understand you correctly, your trying to read the individual elements of your cluster control, is this right?  You can do this using Property nodes.  This is just and example.  Let me know if I'm off base. 
    Use a For loop to process your elements that you want to save.  I would consider using an Event structure for your main VI.  This will do what you are trying to do here, and it will be more compact, cleaner, and more scalable.
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • Dynamically change the contents of one combo box based on the other

    Hi Forum,
    I have a question which might have a possibly simple answer. Well anyway help me out since i could not find the simple answer.
    I am building an application using Swing and binding with BC4J using JClient. My GUI has combo boxes, grids, editboxes. My requirement is that i should be able to dynamically change the contents of one combo box based on the selected item in trhe previous combo box. For example, when i choose a country in the "country combo box", the "states combo box" should show the list of the states of the selected country.
    Now how do i do this using binding. If not, how do i write custom querirs in BC4J layer and return a resultset to the remote application so theat i can populate the dependent combo boxes.
    I will appreciate if anyone can help me out in this regard.
    Thank You
    Sumit

    there could be quite a few number of ways of solving this problem.
    One way is through event handlers.
    taking your example as a model when user selects a country you could fire an action with a flag set to ture. A method will return the states from the DB or your temporary files or what ever and then the true flag will be used in the states combo box rendering.
    other way: javascript
    this might be a bit clumsy as you will need the states information in a property file and you can get the info as the user selects a country.
    regards,
    raj

  • Filtering of Data through Combo Box with chart drill down Option.

    Hey Guys,
    I need to ask one thing about combo box filtering option, i want to filter my data like country, agent, customer and in the end material. I have achieved this through filter component but the thing which bother me is that if i select the specific customer in filter option it directly give's input to other filter's which i don't want. So the alternate is combo box but the thing which is creating problem is that if i filter my data through combo box it doesn't give any option for the chart filtering. For more convenience i am attaching my spreadsheet data which i want to filter.  please help me in this matter.
    Thanks & Best Regards,
    Hassan Ali.
    Sample Is Below::
    Country
    Customer
    Material
    Austria
    David
       Mat 1
    Austria
    Simon
       Mat 2
    China
    XYI jo
       Mat 2
    China
    CHU pa
       Mat 4
    India
    Suresh
       Mat 1
    India
    Ramesh
       Mat 5
    Sales Quantity
    Export Sales
    300.000 FT2
    1,631,020.77 PKR
    600.000 FT2
    3,108,107.67 PKR
    600.000 FT2
    11,917,131.08 PKR
    200.000 FT2
    8,679,817.14 PKR
    760.000 FT2
    8,059,453.23 PKR
    790.000 FT2
    1,727,072.16 PKR

    Nothing to do with excel file, just the logic with combo box.

  • Edit combo box array

    Hello,
    I am trying to add a value to a specific combo box in a 2d array.
    lets say i have a 2d array of combo boxes, how can i add a value to the combo box in row 3 and colomn 4?
    Thank.

    Hey,
    I have an ini file with diffrent tests and every test has a diffrent settings, for example:
    [HO type_Intra ASN Handover]
    Type=INI VI
    Delay between H.O=5,2
    Trafic type=Smartbits,Ping
    Number of Handover=xxx
    [HO type_Inter ASN Handover]
    Type=INI VI
    Deleay between H.O=5,2
    Trafic type=Smartbits,Ping
    Number of Handover=xxx
    The idea is that for example delay between handovers is a combo box parameter with values of 5,2 and trafic type is also a combo box parameter but with values smartbit or ping and the number of handovers is a regular string how can i diplay those parameter for the user ? there can be more then 3 parameter...is there a solution ?

Maybe you are looking for

  • "Fringe" lens flares.

    Anyone watching the new show "Fringe"? They are using this intense blue lens flare effect with two horizontal streaks. It doesn't look like the usual thing Light Factory can produce. It has a real world optical feel that doesn't look like a plug-in.

  • What is the apex internal administration credentials

    dear all i have installed oracle xe 11g and i have loged in on storage and apex tabs and i have created workspace and users. now i would like to access apex internal administration. i need to configure email server ip there can anyone help me with th

  • Why am I seeing backups on my MacPro HD & not on my TC?

    I'm sure is a lack of understanding how the TC works & apple's way of doing things (am a recent convert to Apple)....but seems strange that my local (macpro) is filling up with backup files and not the TC.  Is this correct? I've got abt 200GB of 'stu

  • Last Software Inventory Date old

    We a some machines where the Last Software Inventory date is very old but the HW Inventory date is current.  Is there any step by step documentation on troubleshooting this type of problem?

  • Applying the same 'fix' to multiple clips

    Hi guys, I am sending about 30+ individual sound-clips from FCP to Soundtrack for noise reduction. My question:  How do I apply the filter that I make (or the work I do) on one of the clips to apply to all? Thanks in advance!