G
Guest
Perhaps it is because it is the end of the day and my eyes are tired of
looking at code but I cannot seem to figure out what I am doing wrong and
what I can do (if anything) to fix it.
On a Windows form, I have a ToolStripComboBox object with a handful of
entries in the Items collection. I would like to change the text of the
ToolStripComboBox object (using the Text property) to something other than
the text of one of the items in the items collection. For example, if the
items in the Items collection were "Item A", "Item B", and "Item C", I would
like to be able to set the text to "Item Z". If I manually type the text in,
it works. If I set the Text property at runtime, the text remains to be that
of the currently selected item.
Any suggestions on how to get around this will be greatly appreciated.
Thank you,
Jason Richmeier
looking at code but I cannot seem to figure out what I am doing wrong and
what I can do (if anything) to fix it.
On a Windows form, I have a ToolStripComboBox object with a handful of
entries in the Items collection. I would like to change the text of the
ToolStripComboBox object (using the Text property) to something other than
the text of one of the items in the items collection. For example, if the
items in the Items collection were "Item A", "Item B", and "Item C", I would
like to be able to set the text to "Item Z". If I manually type the text in,
it works. If I set the Text property at runtime, the text remains to be that
of the currently selected item.
Any suggestions on how to get around this will be greatly appreciated.
Thank you,
Jason Richmeier