We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Auto-Replace trigger keys

Thread ID:

Created:

Updated:

Platform:

Replies:

57427 Mar 3,2007 04:37 PM UTC Mar 9,2007 09:24 AM UTC WinForms 2
loading
Tags: EditControl
Developer
Asked On March 3, 2007 04:37 PM UTC

Edit Control v. 4.4 has new feature - AutoReplaceTrigger. This trigger is fired when certain keys are pressed. Developer can define list of these keys within the language definition with help of attribute of TriggersActivators like this:

TriggersActivators=" ;.=()"

It's all great and cool, but how can I fire trigger when user just press 'Enter'? I tried

TriggersActivators=" ;.=()\n"

with no success. :(

Administrator [Syncfusion]
Replied On March 6, 2007 06:29 PM UTC

Hi Developer,

It is possible to fire the trigger when the 'Enter' key is pressed using the KeyDown event. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thank you for your patience.

Regards,
Ebenezer.P

rel='nofollow' href=http://www.syncfusion.com/Support/user/uploads/CS_fd99245e.zip>sample

Developer
Replied On March 9, 2007 09:24 AM UTC

Yes! It works a treat, thanks a lot!

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;