event triggering in formInDialog

Hello,

it seems that if you show a formInDialog that onRecordSelection is fired before onShow of that form. I have expected it the other way round: the things you do at the beginning, you do onShow. Once the form is shown, everything else starts to run…

In my case this is very annoying. Before I show the dialog, I fill a global with form-specific information, that is interpreted onRecordSelection. The onShow method takes its time, so I don’t want to run it onRecordSelection, but fill the global instead. Now I have the problem that the first time onRecordSelection is run, the information in the global is not updated yet.

Is this expected bahviour? Can this be changed?

Thanks
Patrick

Could anyone comment on this, please? I am getting errors all the time and I would like to know if I have to work around this or if it is a bug.

Thanks!
Patrick

I think Servoy dev team should reply this one…

I think Servoy dev team should reply this one…

Could someone? This is really annoying and I need to know if I have to ship around this one somehow…

Is there anybody out there ? :(

I have just come across this issue again and would be grateful if someone could comment on the expected behaviour of event triggering when showing a formInDialog! :?