jQWidgets Forums

This topic contains 1 reply, has 1 voice, and was last updated by  hypertyper 11 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Event on focus #54064

    hypertyper
    Participant

    Hi,

    actually I am playing around with the jqxWindow component which seems to be very nice. I have a few windows in my document and I want to implement a taskbar to switch between the windows.

    To realize that I need some event like “onfocus” which is triggered when the user “clicks” on a form to bring it to the front. But I could not find any event like that.

    I’ve already tried to use the move, moving, resize, resising, expand and open events but none of them is triggered when the user just clicks on a form to bring it to the front of all the other windows.

    Has anyone an idea to realize my task?

    Regards,
    Robert

    Event on focus #54084

    hypertyper
    Participant

    Hi,

    I’ve found the solution. You can trigger the “mousedown” event:

    $('#windowid').on('mousedown', function (event) 
    {
      alert("window click");
    });

    Regards,
    Robert

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.