Hello,
What I can think of that would be relevant in this case is to create a custom Form of your own that would derive from the Gizmox.WebGui.Forms.Form.
This new Form would send a notice to the server-side, when the Form gets focus in client-side. At server-side this would change the ActiveForm to the newly focused Form.
BTW, I think the implementation of the ActiveForm should be a linked-list structure and not a single reference to a Form. The reason for that is that if the top Form is closed, you need the Form that was active before it to be printed (if it is still alive), etc.
I also think you should save this linked-list structure on the Context objext and not on the MainForm. It is generally a more logical place to hold it and it will give you more felxibility.
Please reply if you need any help with these implementations or need any additional information on this subject.
Regards,
Ori Cohen
Support Manager, the Visual WebGui team