Re: ComboBox will not release focus
- From: DaveD <decdav@xxxxxxxxxxxxxxx>
- Date: Tue, 18 Jul 2006 13:20:36 -0400
Hi John,
Have you gotten a fix for this? I'm having the same problem (at least
I think it is) with a combobox on a form, everything works fine if I
don't touch the box, but do anything with it and the rest of the form
stops working. I can min the window, but I can't close out the app.
On Thu, 6 Jul 2006 17:14:02 -0700, JohnMSyrasoft
<JohnMSyrasoft@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi, I've got a comboBox that is behaving oddly..
This is a Windows Forms application in VB.NET 2005.
I'm doing some manual databinding to it - I add a row to a strongly typed
dataTable and then assign the DisplayMember and ValueMember properties of the
comboBox as in:
Me.CoInfoDataSet.ACHProviders.AddACHProvidersRow(ACHPROVIDER.WellsFargo,
"Wells Fargo")
For Each row As CoInfoDataSet.ACHProvidersRow In Me.CoInfoDataSet.ACHProviders
Me.ACHProviderComboBox.Items.Add(row)
Next
Me.ACHProviderComboBox.DisplayMember = "Description"
Me.ACHProviderComboBox.ValueMember = "ProviderID"
I have a number of other controls on the form. When I load up, I can move
between controls, including my comboBox without any issue. However, as soon
as I select an item from the comboBox dropdown list, I can't get the focus to
leave the comboBox. This includes using TAB, the mouse, etc. I can't even
close the application through the control box because the comboBox holds the
focus. I have to stop the IDE from debugging the project to shut it down. I
don't have any code in any of the comboBox events. Is this something that
anyone has seen before?
Thanks in advance. Baffled...
- Prev by Date: DataGrid Exception, Big Red X
- Next by Date: Re: ComboBox will not release focus
- Previous by thread: DataGrid Exception, Big Red X
- Next by thread: Re: ComboBox will not release focus
- Index(es):
Relevant Pages
|