Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

command button click event 1

Status
Not open for further replies.

Ravala

Programmer
Jan 28, 2004
88
US
I have text box with mltLine=true.
The problem is if user put "enter" in this box it triggers
the command button click event. How cam I void it?

Thanks.
 
Did you set this button to be the default button for the form (in the same way that can be set the Cancel button for key "ESC") ?
If so, just set that property of the button to false.

Hope I've been helpful,
Bogdan Muresan.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top