Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    ComboBox Refresh (XP)

    I have two ControlToolbox ComboBoxes ie ComboBox1 and ComboBox2. If an item in ComboBox1 is selected it sets the ListFillRange in ComboBox2 to some other range. How do I get ComboBox2 to immediately refresh to show the new ListFillRange?

    ComboBox2 will not display the new ListFillRange until the dropdown is selected.

    Your assistance is appreciated,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: ComboBox Refresh (XP)

    How can you tell that ComboBox2 hasn't been refreshed if it hasn't been selected yet?

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ComboBox Refresh (XP)

    Hans,

    ComboBox2 displays the first item of the current ListFillRange. I thought perhaps there was something similar to a repaint or refresh option.

    Regards,
    John

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: ComboBox Refresh (XP)

    You'll have to add code to change the value of ComboBox2 as well.

  5. #5
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: ComboBox Refresh (XP)

    Hans,

    That did it.

    Thank you,
    John

Posting Permissions

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