-
Subwindow - showed event
Hi everyone. I've 4 subwindows. The users can see them one at a time with the "previous" and "next" buttons.
What I need is to do something when a subwindow is shown (not loaded or initiated, but shown - the users can
go back and forth as they please and every time the subwindow is shown, I need to do something).
Do I have to use the "previous" and "next" buttons or is there an event that I can't find?
-
There is an "onVisibilityChanged" call that is made when setVisible API is called on the subwindow control (not the included window, but the control itself).
Regards,
JPG
-
This is my solution
Code:
<template name="mysubwindow">
<subwindow>
<script>
function onVisibilityChanged()
WindowManager.callInnerWindowFunction(self, "onVisibility");
end
</script>
</subwindow>
</template>