Повідомлення створено: 19. 08. 2017 [00:40]
|
Unaie
Unai Ezta
Автор теми
Зареєстрован(а) с: 30.06.2009
Повідомлення: 42
|
Hi. I am upgrading a project from an old version to 0.8.18 LTS and I have a problem.
I am using events ws_FocusIn over elements wdg_Box, but they are not generating any events on GUI.
However events are generated via WEB interface, but not on GUI.
For more details:
I am using this procedure to check for events.
while(true)
{
ev_wrk = strParse(event,0,"\n",off);
if( ev_wrk == "" ) break;
messPut("NIR/",2,"Testing Events:"+ev_wrk);
....
And the results are:
On GUI: No Events Detected.
On WEB: You can see this, where b1_ is an Element Box.
key_mousePresLeft:/b1_
key_mouseRelsLeft:/b1_
ws_FocusIn:/b1_
ws_FocusOut:/b1_
Whats the problem?
|
Повідомлення створено: 19. 08. 2017 [07:06]
|
roman
Roman Savochenko
Moderator Contributor Developer
Зареєстрован(а) с: 12.12.2007
Повідомлення: 3750
|
"Unaie" wrote:
Hi. I am upgrading a project from an old version to 0.8.18 LTS and I have a problem.
I am using events ws_FocusIn over elements wdg_Box, but they are not generating any events on GUI.
However events are generated via WEB interface, but not on GUI.
They all are GUI but first one, I think, about UI.Vision! And for me all events here also present:
2017-08-19T07:01:55 1[MainPg] Event: ws_FocusIn
2017-08-19T07:01:56 1[MainPg] Event: key_mousePresLeft
2017-08-19T07:01:56 1[MainPg] Event: key_mouseRelsLeft
2017-08-19T07:01:57 1[MainPg] Event: ws_FocusOut
2017-08-19T07:02:03 1[MainPg] Event: ws_FocusIn
2017-08-19T07:02:04 1[MainPg] Event: ws_FocusOut
2017-08-19T07:02:04 1[MainPg] Event: ws_FocusIn:/infoW
2017-08-19T07:02:04 1[MainPg] Event: key_mousePresLeft:/infoW
2017-08-19T07:02:04 1[MainPg] Event: key_mouseRelsLeft:/infoW
2017-08-19T07:02:05 1[MainPg] Event: ws_FocusOut:/infoW
But the boxes are opaque and for full transparent boxes and some other widgets the events don't go on UI.Vision and go on UI.WebVision. And this is a function on UI.Vision but there is possible for checking transparent level of widget's space.
Learn, learn and learn better than work, work and work.
|
Повідомлення створено: 20. 08. 2017 [21:01]
|
Unaie
Unai Ezta
Автор теми
Зареєстрован(а) с: 30.06.2009
Повідомлення: 42
|
"roman" wrote:
But the boxes are opaque and for full transparent boxes and some other widgets the events don't go on UI.Vision and go on UI.WebVision. And this is a function on UI.Vision but there is possible for checking transparent level of widget's space.
Right. It was transparent. The problem is solved using background color #AAAAAA-1 with transparency level 1.
Thank you Roman.
|