Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Ribbon Tech Support » Problem with TextBox and keypress event Collapse All
Subject Author Date
Timothy Greaves Aug 11, 2009 - 1:16 PM

I am having a problem.. When a TextBox is posting a keypress event, it doesnt post the <enter> key.. I have this working with the windows forms textbox but it isnt working with the EUI textbox on my ribbon..

Any ideas?

Timothy Greaves Aug 17, 2009 - 10:28 AM

That worked perfect.. Thanks..

Technical Support Aug 12, 2009 - 6:01 AM

When using an Elegant.Ui.TextBox inside the ribbon, the Enter and Escape keys are used as input keys in order to commit or discard the changes. This causes the KeyPress event not to work for these keys. Consider using the KeyDown event instead for the cases when a TextBox control inside the ribbon.