combobox with AutoCompleteMode
-
hi all, i am developing program with vb.net 2005 i am using combobox and i set the AutoCompleteMode property to Suggest, so when i type something to there, it will appear a list for every the content that likes what i type.. the problem is.. when we click on the list... it will return keycode 13 or enter... how can i disable that... is anybody have the answer? Thanks...
-
hi all, i am developing program with vb.net 2005 i am using combobox and i set the AutoCompleteMode property to Suggest, so when i type something to there, it will appear a list for every the content that likes what i type.. the problem is.. when we click on the list... it will return keycode 13 or enter... how can i disable that... is anybody have the answer? Thanks...
You can check for keypress event for combobx and do nothing is keycode is 13... Regards, Nilesh
-
hi all, i am developing program with vb.net 2005 i am using combobox and i set the AutoCompleteMode property to Suggest, so when i type something to there, it will appear a list for every the content that likes what i type.. the problem is.. when we click on the list... it will return keycode 13 or enter... how can i disable that... is anybody have the answer? Thanks...
-
You can check for keypress event for combobx and do nothing is keycode is 13... Regards, Nilesh
Hello, I am not agree ur point. Because In all control's Keypress event thier will be event displayer commonly known as 'e'. if we use e we will get to properties like e.handler, e.keychar. From this e.keychar which will tell the current pressing/pressed key character. From that we get 13,43,46 asci values which we currently using if we go for asc(e.keychar). 13 - for enter 32 - spacebar 46 - pullstop / dot Senthil.S Software Engineer.
-
You can check for keypress event for combobx and do nothing is keycode is 13... Regards, Nilesh
-
Hello, It is easy if u follow the changes in the properties of combobox. 1. FlatStyle - System 2. AutoCompleteSource - ListItems 3. AutoCompleteMode - SuggestAppend after completion of this. I think ur problem may solve Senthil.S Software Engineer