Home All Groups Group Topic Archive Search About
Author
12 Sep 2006 4:49 PM
Mark
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.

Author
12 Sep 2006 4:54 PM
Marina Levit [MVP]
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.

Show quoteHide quote
"Mark" <M***@discussions.microsoft.com> wrote in message
news:BFDAF04C-9E20-4639-8029-0BA3397B4AB6@microsoft.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.
Author
12 Sep 2006 5:19 PM
Mark
Not much to tell you except I fixed the problem by changing the form
property (Me.AutoValidate) to the value (Windows.Forms.AutoValidate.Disable).

Thanks for your help!

Show quoteHide quote
"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" <M***@discussions.microsoft.com> wrote in message
> news:BFDAF04C-9E20-4639-8029-0BA3397B4AB6@microsoft.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.
>
>
>
Author
12 Sep 2006 6:10 PM
Marina Levit [MVP]
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.

Show quoteHide quote
"Mark" <M***@discussions.microsoft.com> wrote in message
news:132CBAB5-A807-42DB-AEE5-CC549DF97C30@microsoft.com...
>
> Not much to tell you except I fixed the problem by changing the form
> property (Me.AutoValidate) to the value
> (Windows.Forms.AutoValidate.Disable).
>
> 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" <M***@discussions.microsoft.com> wrote in message
>> news:BFDAF04C-9E20-4639-8029-0BA3397B4AB6@microsoft.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.
>>
>>
>>