|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Combobox refresh after changing displaymember and valuememberI want to set the values for the combobox.displaymember and valuemember at
runtime. Its seems simple enough, but after changing them in response to a change in an option group, I can't figure out how to get the combobox to refresh itself with the new settings. I've tried the combobox.refresh() method. Anyone know how to get the combo box to refresh itself? thanks -- dchman Did you try the Invalidate() method?
Show quote "dchman" wrote: > I want to set the values for the combobox.displaymember and valuemember at > runtime. Its seems simple enough, but after changing them in response to a > change in an option group, I can't figure out how to get the combobox to > refresh itself with the new settings. I've tried the combobox.refresh() > method. > > Anyone know how to get the combo box to refresh itself? > > thanks > -- > dchman Thanks for the tip. Much better than my work-around of refilling the
associated table adapter. -- Show quotedchman "William Sullivan" wrote: > Did you try the Invalidate() method? > > "dchman" wrote: > > > I want to set the values for the combobox.displaymember and valuemember at > > runtime. Its seems simple enough, but after changing them in response to a > > change in an option group, I can't figure out how to get the combobox to > > refresh itself with the new settings. I've tried the combobox.refresh() > > method. > > > > Anyone know how to get the combo box to refresh itself? > > > > thanks > > -- > > dchman |
|||||||||||||||||||||||