timing of onHide event

I don’t know if this is a bug or not:
I have a form with a tab panel on it. The list form that is displayed when a tab is clicked contains an onShow method. Each tab is a separate list form and each form has an associated onShow event.

Now, when I click on a line in the list I pop up a formindialog for viewing/editing. the formindialog has an onHide method. What is very strange is that when I close the dialog, the onShow event for the form associated with the tab panel executes before the onHide method for the form in dialog. This doesn’t seem right to me as I want to use the onHide method to force the user to do something before the formindialog closes. I would think it logical that the formindialog should be dealt with before the form in the tab panel is re-displayed.

I also seem to remember some talk in the past here about a way to dis-allow the close box, selectively, on a formindialog. Am I remebering correctly; and if so, what was/is the outcome or status of the request?

I also seem to remember some talk in the past here about a way to dis-allow the close box, selectively, on a formindialog. Am I remebering correctly; and if so, what was/is the outcome or status of the request?

OK, I found the Return false feature of onHide which will disallow closing the formindialog.

But I still need help on the first issue.

which version are you testing against?

I just tested this with 2.1b4 and i hide is first called before show.

Servoy Developer
Version R2 2.1beta2-build 300
Java version 1.4.2_04-b05 (Windows 2000)

can you retest this with b4 (and when b5 is released)?
I am not able to reproduce it. If you have a reproduceable test case please send it over.