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

Home » U++ Library support » LineEdit, EditFields, DocEdit » DocEdit bug
DocEdit bug [message #10218] Mon, 25 June 2007 23:43 Go to previous message
zsolt is currently offline  zsolt
Messages: 704
Registered: December 2005
Location: Budapest, Hungary
Contributor
After calling NoWantFocus(), the needed behaviour would be to accept focus when clicking in the DocEdit, but to not accept using keyboard navigation (TAB).
Currently, it is unable to accept focus aon mouse clicks, so the control is not editable. Fix:
void DocEdit::LeftDown(Point p, dword flags) {
	//SetWantFocus(); //removed
	SetFocus(); //added


I think, LineEdit has the same problem.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EditString: how to convert data with "~" operator to char*?
Next Topic: TextCtrl not working
Goto Forum:
  


Current Time: Sun Jul 19 13:44:50 GMT+2 2026

Total time taken to generate the page: 0.00635 seconds