ComboBox Question?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark

    #1

    ComboBox Question?

    Hello,

    I have a combobox on a dataentry winform. Once a value is selected I can't
    tab out of the control or change the focus to any other control. Can anyone
    help me with this.

    Any help would be greatly appreciated!
    Thanks in advance.
  • Marina Levit [MVP]

    #2
    Re: ComboBox Question?

    No, we cannot help you with this, since there is something going on here
    that you are not telling us.

    A combobox on its own will never have this behavior.

    There is something you are doing in code to cause this - but you did not
    provide any details or relevant code, hence we can't help.

    "Mark" <Mark@discussio ns.microsoft.co mwrote in message
    news:BFDAF04C-9E20-4639-8029-0BA3397B4AB6@mi crosoft.com...
    Hello,
    >
    I have a combobox on a dataentry winform. Once a value is selected I
    can't
    tab out of the control or change the focus to any other control. Can
    anyone
    help me with this.
    >
    Any help would be greatly appreciated!
    Thanks in advance.

    Comment

    • Mark

      #3
      Re: ComboBox Question?


      Not much to tell you except I fixed the problem by changing the form
      property (Me.AutoValidat e) to the value (Windows.Forms. AutoValidate.Di sable).

      Thanks for your help!

      "Marina Levit [MVP]" wrote:
      No, we cannot help you with this, since there is something going on here
      that you are not telling us.
      >
      A combobox on its own will never have this behavior.
      >
      There is something you are doing in code to cause this - but you did not
      provide any details or relevant code, hence we can't help.
      >
      "Mark" <Mark@discussio ns.microsoft.co mwrote in message
      news:BFDAF04C-9E20-4639-8029-0BA3397B4AB6@mi crosoft.com...
      Hello,

      I have a combobox on a dataentry winform. Once a value is selected I
      can't
      tab out of the control or change the focus to any other control. Can
      anyone
      help me with this.

      Any help would be greatly appreciated!
      Thanks in advance.
      >
      >
      >

      Comment

      • Marina Levit [MVP]

        #4
        Re: ComboBox Question?

        Well, it sounds like you had some validation set up that was saying the
        value in the field was not valid - hence, the focus stayed in the field.

        Like I said, a combox will not just do this on its own with no other code.

        "Mark" <Mark@discussio ns.microsoft.co mwrote in message
        news:132CBAB5-A807-42DB-AEE5-CC549DF97C30@mi crosoft.com...
        >
        Not much to tell you except I fixed the problem by changing the form
        property (Me.AutoValidat e) to the value
        (Windows.Forms. AutoValidate.Di sable).
        >
        Thanks for your help!
        >
        "Marina Levit [MVP]" wrote:
        >
        >No, we cannot help you with this, since there is something going on here
        >that you are not telling us.
        >>
        >A combobox on its own will never have this behavior.
        >>
        >There is something you are doing in code to cause this - but you did not
        >provide any details or relevant code, hence we can't help.
        >>
        >"Mark" <Mark@discussio ns.microsoft.co mwrote in message
        >news:BFDAF04 C-9E20-4639-8029-0BA3397B4AB6@mi crosoft.com...
        Hello,
        >
        I have a combobox on a dataentry winform. Once a value is selected I
        can't
        tab out of the control or change the focus to any other control. Can
        anyone
        help me with this.
        >
        Any help would be greatly appreciated!
        Thanks in advance.
        >>
        >>
        >>

        Comment

        Working...