Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoiding onkeypress to process Enter key on textbox drop
Message
From
12/12/2012 14:50:09
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01559443
Message ID:
01559465
Views:
30
>If that's the case (for your first question), then may be you can detect an object from which the Enter came from? E.g. if you can detect that the current focused control is a drop down and don't do anything in this case?

The current object is a textbox but the browser has a built in mechanism which shows on top on it a dropdown list to ease the selection of a pre-entered value, in case the user would like to enter something he already did. The problem is at the form level. There is no way a form onkeypress should grab that key.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform