Calling an update or draw function on a combo box?

G

gwoodhouse

Hello all,

I have a combobox cell in a datagridview component. Im using a
seperate window to remove the items from the combo box. Whenever i
drop down the combo box however the items still seem to be there.

My first thought was that i was somehow cloning the combobox and
removing items from the clone but that doesnt seem to be the case: the
underlying object confirms it has had those items deleted.

Is there a .redraw() method or something? Do i need to call an update
on the component to make it refersh tis items? If so i cant find it -
Any help would be appreciated!!

Thanks in advance,

Graeme
 
K

Kevin Spencer

Control.Invalidate()

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
G

gwoodhouse

Hi kevin,

The datagridviewcomboboxcell object doesnt have an invalidate method..
Neither does the base Control class.

Graeme
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top