Results 1 to 4 of 4

Thread: Listbox Problem........

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2002
    Posts
    142

    Listbox Problem........

    I have 6 listboxes on a groupbox. When I click on a value in listbox1, the values in the other 5 listboxes change to the same value.

    All the listboxes(1-6) are bound to different arraylists, and I even deleted them all and put them back in (this time not using copy and paste).

    Any ideas?????

    Cheers,
    Bebandit

  2. #2
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234
    Could you post code where you bind listboxes to arraylists? This is normal behavior when controls bind to same datasource. Maybe will be more helpful when we see code.

    regard j

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    If they share same string values , then do this . Note , this doesn't require to be in the same index .

    VB Code:
    1. Me.ListBox2.Text = Me.ListBox1.Text
    2. Me.ListBox3.Text = Me.ListBox1.Text
    3. Me.ListBox4.Text = Me.ListBox1.Text
    4. Me.ListBox5.Text = Me.ListBox1.Text
    5. Me.ListBox6.Text = Me.ListBox1.Text

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    May 2002
    Posts
    142

    Got it....Thanks

    Thanks for your help......
    dimmed 6 different array lists but forgot to change the values...

    ALL SET!!

    Thanks again.

    Cheers,
    Bebandit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width