In article <MP************************@newsgroups.comcast.net >,
Gregory A Greenman <se*@sig.below> declared...
In article <#g*************@TK2MSFTNGP09.phx.gbl>, Cor Ligthert
[MVP] <no************@planet.nl> declared... Gregory,
Did you take the first step and have a look in the designer generated code
if it is maybe still there as an orphan. If not you can as well than have a
look at the RESX file. (Make all files showable in top of project solution).
Yeah, I had looked at the generated source code before. Other
than the attributes that I expected to be different, everything
looked the same as the other combo boxes.
I hadn't previously looked at the RESX file, but again,
everything looks the same as the other combo boxes, except the
expected differences.
Just to expound on this answer...
The control that I'm having a problem with is named cmbEdition.
Another combobox on the same tab page is named cmbOwner. Here's
all the generated code for the two:
--------------
#Region " Windows Form Designer generated code "
....
Friend WithEvents cmbOwner As System.Windows.Forms.ComboBox
....
Friend WithEvents cmbEdition As System.Windows.Forms.ComboBox
....
<System.Diagnostics.DebuggerStepThrough()> Private _
Sub InitializeComponent()
....
Me.cmbOwner = New System.Windows.Forms.ComboBox
....
Me.cmbEdition = New System.Windows.Forms.ComboBox
....
'
'cmbOwner
'
Me.cmbOwner.BackColor = System.Drawing.Color.FromArgb _
(CType(192, Byte), CType(255, Byte), CType(255, Byte))
Me.cmbOwner.DataSource = Me.ds.Owners
Me.cmbOwner.DisplayMember = "Description"
Me.cmbOwner.DropDownStyle = _
System.Windows.Forms.ComboBoxStyle.DropDownList
Me.cmbOwner.Location = New System.Drawing.Point(512, 32)
Me.cmbOwner.Name = "cmbOwner"
Me.cmbOwner.Size = New System.Drawing.Size(128, 21)
Me.cmbOwner.TabIndex = 9
Me.cmbOwner.ValueMember = "ID"
....
'
'TabPage5
'
Me.TabPage5.Controls.Add(Me.cmbEdition)
....
Me.TabPage5.Controls.Add(Me.cmbOwner)
....
'
'cmbEdition
'
Me.cmbEdition.BackColor = System.Drawing.Color.FromArgb _
(CType(192, Byte), CType(255, Byte), CType(255, Byte))
Me.cmbEdition.Items.AddRange(New Object() _
{"First Edition", "First Edition/First Printing", _
"Stated First Edition", "First Printing", _
"First American Printing", "First American Edition"})
Me.cmbEdition.Location = New System.Drawing.Point(512, 104)
Me.cmbEdition.Name = "cmbEdition"
Me.cmbEdition.Size = New System.Drawing.Size(128, 21)
Me.cmbEdition.TabIndex = 49
....
End Sub
#End Region
--------------
And here's the contents of the ResX file for the two:
--------------
<data name="cmbOwner.DefaultModifiers"
type="System.CodeDom.MemberAttributes, System, Version=
1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Assembly</value>
</data>
<data name="cmbOwner.Locked" type="System.Boolean,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmbOwner.Modifiers"
type="System.CodeDom.MemberAttributes, System, Version=
1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Assembly</value>
</data>
....
<data name="cmbEdition.DefaultModifiers"
type="System.CodeDom.MemberAttributes, System, Version=
1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Assembly</value>
</data>
<data name="cmbEdition.Locked" type="System.Boolean,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089">
<value>False</value>
</data>
<data name="cmbEdition.Modifiers"
type="System.CodeDom.MemberAttributes, System, Version=
1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>Assembly</value>
</data>
--------------
--
Greg
----
greg -at- spencersoft -dot- com