Home » U++ Library support » LineEdit, EditFields, DocEdit » DocEdit bug
Re: DocEdit bug [message #10222 is a reply to message #10218] |
Tue, 26 June 2007 00:04 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
zsolt wrote on Mon, 25 June 2007 17:43 | 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.
|
This is a very good point, but right now I am not sure it is OK (despite possible documentation).
Theory: If widget does not want focus, it simply does not want to get it by any user action (neither Tab or Click), end of the story...
(This does not mean I strongly agree with you, just I am not sure...)
Mirek
|
|
|
Goto Forum:
Current Time: Fri Apr 19 20:13:17 CEST 2024
Total time taken to generate the page: 0.03838 seconds
|