Re: Question on structures....
From: One Handed Man \( OHM - Terry Burns \) ("One)
Date: 07/05/04
- Next message: guy: "Re: VB Compiler Warnings & other woes ..."
- Previous message: One Handed Man \( OHM - Terry Burns \): "Re: Strangest VB Quirk I've Seen"
- In reply to: news.microsoft.com: "Question on structures...."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 5 Jul 2004 07:39:41 +0100
This is because you are using the same binding context, therfore the
position in the binding context ( Selected item ) will be reflected in the
other.
Try adding 'New' bindings for each ComboBox1.DataBindings.Add( New
Binding( . . . . .
-- OHM ( Terry Burns ) . . . One-Handed-Man . . . Time flies when you don't know what you're doing "news.microsoft.com" <noemail@nothanks.com> wrote in message news:%23878OUkYEHA.808@tk2msftngp13.phx.gbl... > I am missing something here and appreciate any help. > > I am using a structure of states. I assign the datasource to 2 independent > combo boxes (component one) on my form. When I change the selected > state in, say, the cboHmState combo box, it also changes in the cboMlState > combo box. > > How do I unlink this dependency I did NOT want in the first place? Please > help. > > Thanks, W. > > cboHmState.DataSource = States 'Populate the list > cboHmState.Splits(0).DisplayColumns(0).Visible = False > cboMlState.DataSource = States 'Populate the list > cboMlState.Splits(0).DisplayColumns(0).Visible = False > >
- Next message: guy: "Re: VB Compiler Warnings & other woes ..."
- Previous message: One Handed Man \( OHM - Terry Burns \): "Re: Strangest VB Quirk I've Seen"
- In reply to: news.microsoft.com: "Question on structures...."
- Messages sorted by: [ date ] [ thread ]