PC Review


Reply
Thread Tools Rate Thread

ComboBox not up to date

 
 
Lee
Guest
Posts: n/a
 
      17th Jan 2007
Hi,

I've populated a combobox by iterating through a collection. The each
object is a user defined class and I've overwritten the ToString
accordingly.

My problem is that when i update objects within the collection
directly, I would expect the combo box to reflect these changes. The
'innerList' within the combobox is updated but i cannot get the drop
down list itself to reflect the updates.

I've tried the combo methods Refresh, Update and Invalidate but these
have no effect.

When a call 'GetItemText' the new value is returned but the old value
is still displayed to the user.

Thanks
Lee

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
converting date combobox to show date willfeld Microsoft Excel Programming 4 30th Apr 2008 05:59 PM
Format Date ComboBox Blobbies Microsoft Excel Misc 4 10th Jan 2008 08:40 AM
Date Format In Combobox =?Utf-8?B?SWFuQw==?= Microsoft Excel Programming 2 14th May 2007 05:12 PM
Format date in combobox susan Microsoft Excel Programming 1 6th Sep 2006 09:56 PM
Displaying Date only in a combobox =?Utf-8?B?Sm9obiBTdXJ1?= Microsoft VB .NET 4 5th Feb 2004 06:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:47 AM.