Home » U++ Library support » U++ Widgets - General questions or Mixed problems » GLCtrl don't have Key() method wokring
Re: GLCtrl don't have Key() method wokring [message #52981 is a reply to message #52980] |
Tue, 28 January 2020 12:37   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
Xemuth wrote on Tue, 28 January 2020 11:45Thanks Mirek for having solve my problem,
Another quick question, if the Ctrl didn't had focus before, why mouse event where working fine ? Isn't Mouseevent supposed to require focus ?
Thanks in advance,
Best Regard.
Xemuth
No, focus is just for keyboard.
BTW, things were a little bit complicated, the real reason why your code was not working outright was NoWantFocus flag in GLCtrl. That prevented TopWindow to assign focus to it on open. I had decided to remove this flag, so your original code would work as is.
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:45:49 CEST 2025
Total time taken to generate the page: 0.03623 seconds
|