U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » RichText,QTF,RTF... » how to solve WhenEnter event to RichEdit
Re: how to solve WhenEnter event to RichEdit [message #54464 is a reply to message #54457] Sun, 26 July 2020 09:24 Go to previous message
akebee is currently offline  akebee
Messages: 90
Registered: August 2011
Location: China
Member
solved
Callback whenenter;

	virtual bool Key(dword key, int count)
	{
		if(key == K_ENTER)
		{
			whenenter();
			return  true;
		}
		return RichEdit::Key(key,count);
	}
 
Read Message
Read Message
Previous Topic: How do I detect if the data in a RichEdit was changed by user?
Next Topic: how can i get the image in the RichText?
Goto Forum:
  


Current Time: Sat Apr 25 05:44:25 GMT+2 2026

Total time taken to generate the page: 0.00398 seconds