textboxs

  • Thread starter Thread starter Gav
  • Start date Start date
G

Gav

Is there a way I can completely take control of what happens when a user
press's return inside a textbox... I can not get it to do what I want
because I'm using linkbuttons instead of buttons it will not default to
them?

Thanks
Regards
Gavin
 
Hi Gavin,

I agreed with Nicholas. For how to add WndProc, please refer to
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/
frlrfsystemwindowsformscontrolclasswndproctopic.asp.

By the way, it works in Windows forms application. If in a web form, you
may need to refer to client side scripting event to see how to capture
keyboard event.

Thanks.

Regards,
HuangTM
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top