Need to detect when an item is clicked in a combo box in flex 3

Hello
I am having a check box and a combo box whenever any selection is made in combo box (current selection may be same as previous selection), I need to select the check box.
By default the 1st item in combo box is selected and check box is unselected. Now I want that while 1st item is clicked in combo box (although it is selected) , the check box must be selected.
I have currently used the change event of combo box to do my task. But it is not working if I click on same item as selected item in combo box.
Also, I thought to use close event of combo box, but that event dispatches in 4 situations out of which I can distinguish only 1 situation from DropDownEvent(for close).
Please help me regarding this.
I am using flex sdk 3.5
Thanks in advance.

You can use the Close Event to distinguish it.
To pull out which item has been selected in the combo box, you use the code (in as3)
ComboBox(event.target).selectedItem.label
and through the the use of an if statement
if (ComboBox(event.target).selectedItem.label == "labelName")
you can distinguish the single situation from the others.

Similar Messages

  • Need to detect when the cursor is outside of the stage

    I need to detect when the cursor is outside of the stage. I
    have tried hitTest() but this doesn't seem to work. Someone must
    have a good solution to this one.

    What about putting either a thin invisible border just inside
    of the frame,
    or it might take 4 separate lines around the border and
    detect if they
    rollover that. Or check if the mouse x is less than 0,
    greater than the
    width, or the same for the top and bottom?
    I might have to code something like this myself in the next
    few days which
    is why it caught my attention.
    Timm
    "nudnic" <[email protected]> wrote in
    message
    news:f2g15n$j2$[email protected]..
    > Yes, I want to detect when the cursor leaves the stage
    area. Someone must
    > have found a good solution to this it has too many
    useful applications.

  • When menu item is clicked i'm unable to call user form to my b1

    hi every one,
    i'm new to b1 sdk. i have written some code to handle menuevents. when an item on menu is clicked a form should open ...such that i have written some code which is shown below....but when i'm debugging ..after entering the control into createmysimpleform() it is not moving further....
    plz provide me some help in this regard...
    ======================================================================================================
    CODE
    ===================================================================================================
      Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
    =============================================================================================
            If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                SBO_Application.MessageBox("Rajender")
                If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                    SBO_Application.MessageBox("My first Menu was clicked")
                    CreateMySimpleForm() ' to call the user form for which the code is written in another sub program
                End If
            Else
                If (pVal.MenuUID = "SM_VID13") And (pVal.BeforeAction = False) Then
                    SBO_Application.MessageBox("My Second Menu was clicked")
                End If
            End If
    Private Sub CreateMySimpleForm()
            Dim oItem As SAPbouiCOM.Item
            '// we will use the following objects to set
            '// the specific values of every item
            '// we add.
            '// this is the best way to do so
            Dim oButton As SAPbouiCOM.Button
            Dim oStaticText As SAPbouiCOM.StaticText
            Dim oEditText As SAPbouiCOM.EditText
            Dim oComboBox As SAPbouiCOM.ComboBox
            '// add a new form
            Dim oCreationParams As SAPbouiCOM.FormCreationParams
            oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
            oCreationParams.UniqueID = "MySimpleForm"
            oForm = SBO_Application.Forms.AddEx(oCreationParams)
            oForm.Visible = True
            '// add a User Data Source to the form
            oForm.DataSources.UserDataSources.Add("EditSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            oForm.DataSources.UserDataSources.Add("CombSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            '// set the form properties
            oForm.Title = "Simple Form"
            oForm.Left = 400
            oForm.Top = 100
            oForm.ClientHeight = 80
            oForm.ClientWidth = 350
            '// Adding Items to the form
            '// and setting their properties
            '// Adding an Ok button
            '// We get automatic event handling for
            '// the Ok and Cancel Buttons by setting
            '// their UIDs to 1 and 2 respectively
            oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 6
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Ok"
            '// Adding a Cancel button
            oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 75
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Cancel"
            '// Adding a Rectangle
            oItem = oForm.Items.Add("Rect1", SAPbouiCOM.BoFormItemTypes.it_RECTANGLE)
            oItem.Left = 0
            oItem.Width = 344
            oItem.Top = 1
            oItem.Height = 49
            '// Adding a Static Text item
            oItem = oForm.Items.Add("StaticTxt1", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 8
            oItem.Height = 14
            oItem.LinkTo = "EditText1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 1"
            '// Adding another Static Text item
            oItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 24
            oItem.Height = 14
            oItem.LinkTo = "ComboBox1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 2"
            '// Adding a Text Edit item
            oItem = oForm.Items.Add("EditText1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 8
            oItem.Height = 14
            oEditText = oItem.Specific
            '// bind the text edit item to the defined used data source
            oEditText.DataBind.SetBound(True, "", "EditSource")
            oEditText.String = "Edit Text 1"
            '// Adding a Combo Box item
            oItem = oForm.Items.Add("ComboBox1", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 24
            oItem.Height = 14
            oItem.DisplayDesc = False
            oComboBox = oItem.Specific
            '// bind the Combo Box item to the defined used data source
            oComboBox.DataBind.SetBound(True, "", "CombSource")
            oComboBox.ValidValues.Add("1", "Combo Value 1")
            oComboBox.ValidValues.Add("2", "Combo Value 2")
            oComboBox.ValidValues.Add("3", "Combo Value 3")
            '// set the form as visible
        End Sub

    hi satish, thanks for ur reply...
    i have 1 more doubt...plz try to solve this prob as soon as possible....
    i have created a user form with some lables and textboxes... and buttons...
    if i click on "adddata" button all the data i have entered in the form is inserted to DB...
    i have placed 1 more button ...so as to make already entered data in textboxes values empty.... but it is not working when i wrote the code below.....
    If (FormUID = "TestForm") And ((pVal.ItemUID = "13") And _
       (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And (pVal.BeforeAction = True)) Then
                Clear() ' this is update records with respect to code value entered in form to DB
            End If
    Public Sub Clear()
      oform.Items.Item("6").Refresh()
            oform.Items.Item("7").Refresh()
            oform.Items.Item("8").Refresh()
        End Sub
    is there any other method that is should call to clear the data...???

  • When i change the value of a combo box using a property node it displays the value not the item label

    I am using a combo box as a select list for text serial commands.  I have items like "engineering", "GUI", and "Scan" for the commands "MDE", "MDN", and MDS respectively which i have input as the corresponding value in the combo box.  so for example the label "engineering" has the value "MDE" in the combo box items list.  when the Vi starts it needs to read the current value MDE, MDN, or MDS and then i want it to display on the front panel the item text corresponding to that command value.
    To do this i have tried to read the serial command, ie MDS and then wire that to a "value" property of a property node of the combo-box, but instead of displaying the corresponding item label, "Scan", it displays the value "MDS" on the front panel instead.  i want the front panel to use the label text when choosing and displaying but the block diagram to use the serial commands.  Can this be done with a combo box?  I'm trying to use a combo box so i can keep it all text and avoid having to build a case statement to convert enums or rings from a numerical value to the text command.
    The correct text value is wired to the value property and it does exist in the combo-box.  I have unchecked "values match items" and selected to not allow undefined values.

    Don't use the value property node.  Use the Text.Text property node.  When creating the property node, select Text, then in the next pop-up box, select Text.
    - tbob
    Inventor of the WORM Global

  • Edit Items in TestStand Sequence File Combo Box?

    Hello All,
      I am creating a basic user interface VI Project, based off of the examples included with TestStand.  In the "Simple" example, there is a Open Seq File button, and an associated combo box to select the Sequence File to run.  For my application, I would like to limit the sequence file options from which the operator can choose (not allow the operator to browse the entire hard drive to find a sequence file).  Using basic Labview functions, I would have done this with a regular combo box, and use the "Edit Items" option to load file options into the drop-down menu.  However, the TestStand UI combo box does not allow this, presumably because it is an ActiveX control, and configuration is different from normal Labview functions.  Is it possible to pre-load the TestStand UI combo box with allowed sequence files?  Or, if there are other suggestions on how to accomplish the requirement, I am open to them as well. 
    Thanks in advance,
    GSinMN       

    One idea is to use the native LabVIEW controls.  Then hide the TestStand UI controls and update them from the events triggered by the native LabVIEW controls. I have had to do this before on UIs when the customer wanted a certain look and feel.
    So basically have the native LabVIEW combo box set like you want.  When the user makes a selection, in the event for that selection update the hidden TestStand Sequence File Combo Box witht he correct sequence file.
    Another option is to use events for the Sequence File Combo Box and just filter and force certain behavior.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to display "All Items" using a "Filtered Rows" Combo Box

    Hi
    How do I make a Combo Box with "Filtered Rows" show "All Values" by default, AND have the option to select individual filters?
    If my data was
    North
    South
    East
    West
    I would want the Combo box to display
    ALL
    North
    South
    East
    West
    When the user selected:
    North, they should see just the filtered rows with North
    South, they should see just the filtered rows with South
    ALL should be the default, and it should ifilter/include North, Soutn, East and West (i.e. showing all the rows)
    I need to use a Combo box and Filtered Rows, because I actually want to filter my dataset using multiple columns:
    Company, Region, District, Sector, Value
    My current method is to:
    use a Combo to filter the RawData on Company into an Intermediate_Company worksheet
    use another Combo to filter the Intermediate_Company worksheet on Region into an Intermediate_Region worksheet
    use another Combo to filter the Intermediate_Region worksheet on District into an Intermediate_District worksheet
    use another Combo to filter the Intermediate_District worksheet on Sector into an Intermediate_Sector worksheet
    then display in a List View from the Intermediate_Sector worksheet.
    Any comments on this method would also be welcome.
    Thanks for your help
    Stuart

    Thanks Muwa
    I've uploaded a non-working version here: http://www.teradepot.com/ntxgoo6629zi/Simple_All_Combo.xlf.html
    I've figured out how to use tthe filter to copy a subset of the rows in the source date to the destination are of the worksheet.
    I can't figure out how to use a filter to copy ALL the rows in the source to the destination.
    I've seen hints about using hidden filters, but I can't make this work, either.  It's quite depressing, really
    I'm very grateful for any help you can give.
    Thanks in advance
    Stuart

  • 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.

  • Some child chms don't display topic in topic pane when TOC item is clicked

    Okay. I'm not sure what's going on.
    We have a master project and various sub-chms that get merged into the TOC of that master project. We have a fairly new sub RH project named "Toolkit Modules" that generates three additional sub chms that are also merged into the master help. They appear at the very end of the master project's TOC:
    <master help's toc>
    <10 other merged chms>
    toolkitmodules.chm
    toolkitmodules_blade.chm
    toolkitmodules_vwmp.chm
    All the topics for the three toolkit modules chms exist in the Toolkit Modules project and are conditionally marked with topic-level build tags so that the right topics appear in their respective chm.
    I compiled the three toolkit chms and then put them in the master root directory so that when the master help is generated, they get included properly.
    At first glance, all three of these chms appear to be working fine in the master TOC. I can expand and view the master help's TOC for the sub projects just fine, but clicking on a TOC entry does not display
    the topics for these two chms in the topic pane:
    toolkitmodules_blade.chm
    toolkitmodules_vwmp.chm
    I'm not sure why.
    If I double-click and open up the individual chms from within Windows and view their contents, the topics appear as expected in those chms. It's just when merged, these latter two chms don't do anything from the TOC side. However, I have verified that the topics are indeed getting merged in, because I can use the Search tab to see the topics. In fact, the Locate button on the toolbar even expands the correct TOC and highlights the entry that matches. So something's just not working from the TOC side.
    Any ideas?
    I'm using RH 9.02.271
    Windows 7 64-bit
    HtmlHelp output (chm)
    Thanks!

    Jared
    Right now I simply don't have the bandwidth to say "send me your project". You may see me ask others to do so but that will only be where I believe it will be simple or I just need to see something.
    Take a look at Item 13 in http://www.grainge.org/pages/authoring/rh9/using_rh9.htm. That covers the fix to the merged CHM help problem that was used before Adobe fixed it in 902. Part of the problem was the HHP getting rewritten so maybe something there will help.
    Any merged CHM help users able to pitch in here?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Problem in launching a url when UWL Item is clicked

    Hi,
    I am developing a custom UWL connector which will fetch items from 3rd party system. Whenever I clicked on any of the item in the task list, It should open a url (value fetched from 3rd system which is dynamic).
    I tried putting the action tag in uwl_xxxconfiguration.xml with
    Action name="showDetails" handler="UrlLauncher" launchInNewWindow="yes">
          <Properties>               
                <Property name="url" value="${item.executionUrl}"/>
          </Properties>
    <Descriptions default="Show Details"/>
    </Action>
    before that I am setting the executionUrl value in uwlItem.setExecutionUrl("www.google.com") in getItems methods.
    After configuring the connector to the portal, when I click on the items, it is launching the details view of the item rather than google. Please help me on this issue.
    Thanks,
    Gobi

    Found the workaround in .xml only by removing the action of DefaultAction and incorporated my action for different tasks. Here is the code snippet for xml
    <ItemType name="uwl.task.mytask" connector="TestUWLConnector" defaultView="DefaultView" defaultAction="launchApp" executionMode="default">
          <Actions>
            <Action name="launchApp" groupAction="" handler="UrlLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
              <Properties>
                <Property name="url" value="${item.executionUrl}"/>
              </Properties>
              <Descriptions default="Go To Application"/>
            </Action>
          </Actions>
        </ItemType>
        <ItemType name="uwl" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="viewDetail" executionMode="default">
          <Actions>
            <Action reference="viewDetail"/>
            <Action reference="viewMemos"/>
            <Action reference="viewPreviewDetail"/>
            <Action reference="viewSimilar"/>
            <Action reference="uwlReturnToTable"/>
            <Action reference="markAsRead"/>
            <Action reference="markAsLaunched"/>
            <Action reference="connectionstatus"/>
          </Actions>
        </ItemType>
    Edited by: Gobinath Kasimayan on Sep 5, 2008 9:30 AM

  • Open Edit form directly when list item is clicked in Sharepoint 2013 list

    Hi,
    I have a list web part, wherein the user clicks the item it should open in the Edit form directly. various forum i checked was for SharePoint 2010, as we do not have design mode in SharePoint designer 2013, I am unable to do.. I know
    if I the change the form type from default page to edit page, it will work, but not sure about how to go ahead. Could anyone help me to achieve this please....

    Sunitha,
    You can do this with some jQuery and JavaScript.  Look at this post:
    http://brandonatkinson.blogspot.com/2013/11/open-sharepoint-2013-list-items.html
    Basically, add a Script Editor Web Part to the page and include this snippet:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
    <script type="text/javascript">
    $(function() {
    // Change all display form links to edit form links
    $('.ms-vb a[href*="listform.aspx"]').each(function(){
    var link = $(this).attr('href');
    link = link.replace("PageType=4", "PageType=6");
    $(this).attr('href', link);
    </script>
    Brandon Atkinson
    Blog: http://brandonatkinson.blogspot.com

  • Is it possible to detect when a user navigates away from a webdynpro page?

    I need to detect when a user navigates away to stop a timer set for the purpose of logging out a user after a certain amount of time. If they click exit I can capture the event but if they click another tab then I cannot. I know when in edit mode the SAP code for work protect will catch that and ask if you would like to save, but I don't think I have any access to that code. Does anyone know how they accomplish this and can it be done if the user is just looking at data also?

    Yes, you can do that using Exit Hook method wdDoExit
    We have used following hook to unlock the locked record of database table, which was open in edit mode.
    //@@begin javadoc:wdDoExit()
      /** Hook method called to clean up controller. */
      //@@end
      public void wdDoExit()
        //@@begin wdDoExit()
         wdComponentAPI.getMessageManager().reportSuccess("exit called");
        //@@end

  • How to detect if an item of JComboBox is highlighted?

    Good day.
    How to detect if the selected item of a JComboBox is highlighted or not?
    Thanks for your response.

    the above code can only detect a highlight if an item is selected from the combo box.
    But when the focus is transfered to other Combo box it can no longer keep track if the item was highlighted or not.
    for example:
    combo box 1 combo box 2
    item item2
    Highlight should be detected wheneverr the focus is transfered from combo box 1 to combo box 2 or vice versa.
    case:
    Combo box 1 item is highlighted before transfering the focus to combo box 2 item. by the time the focus is transfered , highlight in combox 1 item should be detected.
    The main problem here is how to detect if the previously focused item is highlighted or not.
    thank you for your time.

  • Detecting when a variable:URLVariables receives data

    Hi
    Is it possible to add a 'Change' event listener to URLVariables similar to adding addEventListener(Event.CHANGE, function) to a textinput?
    I'm loading data and need to detect when it has completed and send those variables to another class.
    Basically I need to know when it's 'safe' to retrieve the data from my URLVariables variable and that means I need to detect a change on URLVariables.
    I have a workaround using a textinput that is changed in the complete function and then loads the data into a seperate URLVariables var meaning I have a textinput to dedect change and then another variable that hold the actual data which is a waste...
    Thanks

    you can detect whenever data is received by using the Event.COMPLETE listener and listener function.  whether data is new, changed or previously defined and unchanged, you'll need to code yourself after your complete listener function is called.

  • VBA Userforms – Getting errors when item from combo box is not selected

    Hi there
    Thank you in advance for taking the time to check this out.
    Objective:
    I have 2 combo boxes, one is dependent on what has been selected in the first combo box (dynamic named range), they work fine except for an irritating error when the user accidentally clicks in the empty
    Cmbox_IncCategory and it won’t allow the user to go back to the
    cmbx_Category_Type box if the user forgot he had to make a selection from that first before selecting the
    Cmbox_IncCategory.
    The error that pops up is “Invalid property value”.
    I tried having text in there to say “please select from Cmbox_IncCategory first, but that didn’t fix it.
    I tried to ‘If error resume next’ but that didn’t like it either. Now I am stumped.
    Main combo box= cmbx_Category_Type
    2nd combo box (displaying a list dependent on what was selected in Main combo box)= Cmbox_IncCategory
    I know there must be a way to fix it so that if a user clicks on the combo box, but doesn’t make a selection it won’t lock up the form.
    Yes, it is a mandatory field, and I was considering using a message box to advise the user that this must be completed, but I am not sure how to do it (and avoid the errors
    Here’s the current code I have for the combo boxes.
    Me.Cmbox_IncCategory = "" 'Clears the contents of the 2nd combobox when another category is chosen
    On Error Resume Next
    'I can't seem to have the Incident Category combobox to be empty when the form is open _
    I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
    but also get the error. I don't know how else to get it to work .. I tried both codes in the _
    form_initialize, but get an error ... I'm stumped !
    Select Case Me.cmbx_Category_Type
    Case "Crime"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
    Case "Property Damage - Minor - NS"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
    Case "Property Damage - Significant - S"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
    Case "Safety"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
    Case "Security Breach"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
    Case "Support"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
    Case "Vehicle"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
    End Select
    End Sub
    I’d be really grateful if someone could help me out, or perhaps direct me to where I might find some coding that will achieve the result I am seeking.
    This links to
    My Sample form
    With much gratitude,
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

    Hi Peter,
    Thank you for your quick response :) Brave man! :)
    Both combo boxes are blank to start with (because nothing has been selected). If I click on the first combo box (cmbx_Category_Type) which lists the main events/category types, but I don't select any thing, and I click in the secondary box
    (Cmbox_IncCategory) and then click on any other control, I get an “Invalid property value” error. When I click OK on the error (a few times) and I return to the code window, it gives no indication where/what is breaking
    the code/causing the error. I have no choice but to exit the form by stopping in the code window.
    If I click on the first textbox, (cmbx_Category_Type), and then do the right thing and make a selection, then I have no problems with the secondary textbox (Cmbox_IncCategory).
    As I am not that up on VBA I am trying to follow your instructions... I have changed the code as follows, removed and replaced the rowsource name, but I encounter the very same problem.
    When I changed my code from Me.Cmbox_IncCategory="" to yours myCombo.ListIndex = -1  (changing the combo box name to reflect my combo box name) and adding the second line of code ...
    Me.Cmbox_IncCategory.ListIndex = 0 I still got the same behaviour and error.
    I even tried moving each row of the named rows down one row (so that there would be a 'blank' row which could be selected to get out of trouble, but it wasn't very successful either.
    Have you opened my form to see what happens, I included the link so whoever was looking at my problem (and yes, I have many I know), could see for themselves what it is doing/not doing.
    The code now reads as below (is this what you meant?) - the results were as I mentioned above.
    Me.Cmbox_IncCategory.ListIndex = -1 'Clears the contents of the 2nd combobox when another category is chosen
    Me.Cmbox_IncCategory.ListIndex = 0
    ' On Error Resume Next
    'I can't seem to have the Incident Category combobox to be empty when the form is open _
    I have tried Cmbox_IncCategory.Value = "", but I get an error. I then tried Cmbox_IncCategory.text = "" _
    but also get the error. I don't know how else to get it to work .. I tried both codes in the _
    form_initialize, but get an error ... I'm stumped !
    Select Case Me.cmbx_Category_Type
    Case "Crime"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_CRIME"
    Case "Property Damage - Minor - NS"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_PROPRTY_NS"
    Case "Property Damage - Significant - S"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_Proprty_S"
    Case "Safety"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SAFETY"
    Case "Security Breach"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_BREACH_S"
    Case "Support"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_SUPPORT"
    Case "Vehicle"
    Me.Cmbox_IncCategory.RowSource = "Inc_Cat_VEHICLE_S"
    End Select
    End Sub
    I appreciate your patience :) I am growing in knowledge, but its a slow process. Please let me know if there is anything else I can help clarify for you :)
    This links to
    My Sample form
    Thanking you again
    TheShyButterfly
    Hope you have a terrific day, theShyButterfly

  • Combo box is not activating in the detail for second item

    hi
    i have a detail block in which am using listitem with list style poplist. for second item its not getting activated by clicking directly. But if we are navigating through the first item its getting activated. Is there any way to activate it directly.
    thnks in advance

    i have master detail form. In which detail section starts with a listitem with liststyle poplist.
    For first time entry there no pblem at all.
    But when we query the the data and want to add more detail to add in detail block then yle clicking in the first list item in detail block remain inactive.
    we can make it active only yle we press enter key from the previous record. But clicking in the combo box directly is not possible.
    is there any solution to make it active the listitem
    Thnks

Maybe you are looking for