This is a migrated thread and some comments may be shown as answers.

Window event on focus (or on toFront)

5 Answers 149 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jamie
Top achievements
Rank 1
Jamie asked on 25 Sep 2012, 03:08 AM
Hi, i'm hoping i'm just missing something here but I can't find an event for my problem.

I have an app that can have multiple windows.  I'm maintaining a list of windows which I would like to highlight the currently selected window.  When I click on a window that is not selected, it jumps to the front.

Is there an event that can be fired off when the user clicks on a background window and it jumps to the front?  This would allow me to toggle a style on my window list to highlight the active window.

Possible?

Thanks...

5 Answers, 1 is accepted

Sort by
0
Jamie
Top achievements
Rank 1
answered on 01 Oct 2012, 10:53 PM
I guess this isn't possible?
0
Nohinn
Top achievements
Rank 1
answered on 02 Oct 2012, 08:41 AM
There is no event for what you are looking for, however you can look for some plugins in jQuery that looks for any change to elements (like liveQuery) and look for any z-index changes to the windows.
0
Anthony
Top achievements
Rank 1
answered on 15 Sep 2014, 12:29 PM
Be nice if one was added, I just looked for the same thing
0
Alex Gyoshev
Telerik team
answered on 16 Sep 2014, 10:40 AM
Hello all,

Please submit feature suggestions either on UserVoice or via a GitHub issue on Kendo UI Core, for open-sourced widgets.

Regards,
Alex Gyoshev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Anthony
Top achievements
Rank 1
answered on 16 Sep 2014, 10:43 AM
A mousedown event worked in my case, it was a nice to have
Tags
Window
Asked by
Jamie
Top achievements
Rank 1
Answers by
Jamie
Top achievements
Rank 1
Nohinn
Top achievements
Rank 1
Anthony
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or