Article ID: 905720 - Last Review: December 3, 2007 - Revision: 1.2 You cannot control the behavior that occurs when a user presses ENTER when you add a ToolStripComboBox control to a Windows Application project that uses the .NET Framework 2.0SYMPTOMSWhen you add a ToolStripComboBox control to a Microsoft Windows
Application project that uses the Microsoft .NET Framework 2.0, you cannot control the behavior that occurs when a user presses ENTER.
CAUSEThis problem occurs because the ToolStripComboBox and
ComboBox controls do not contain an AcceptsReturn property that you can use to control ENTER key behavior. WORKAROUNDTo work around this problem, use one of the following methods:
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section. MORE INFORMATIONFor more information about the ToolStripComboBox class,
visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/library/system.windows.forms.toolstripcombobox.aspx
(http://msdn2.microsoft.com/en-us/library/system.windows.forms.toolstripcombobox.aspx)
| Article Translations
|
Back to the top
