possible bug in Version 3.0.1-build 372 - onshow

hi
I’m a newbie to Servoy and your forum.

I seem to have a problem in so much the onShow event is only fired once per session, not every time the form is displayed.

Am I just not understanding it correctly?

The basis for my learning and development is the Version 3 CRM system.

Hi Manxman,

Welcome to the forum!

I think, when you are correct, people would have reacted already. I at least can not confirm this.

Have you created a little solution yourself going from and to a form (really not showing a form anymore is essential for the onShow event)?

Maybe you’re expecting that onShow is also triggered when browsing from record to record? In that case you should use onRecordSelection

Hmm, Maarten. I will have to re-evaluate my thought-pattern. You are a much more efficient in your description than I am :)

Hi fellas
thanks for your attention.

I can assure you that is not stepping from rec to rec problem.

to test this problem i have put an application.output(‘in onShow abc form’) in the onShow events of various forms - but it only outputs once - not every time the form is made visible.

Question: should making a form visible trigger the onShow event?

What do you mean with ‘made visible’. Showing a form and triggering the onShow event happens at controller.show() or controller.showRecords()…

Hi Marcel
Using the V3 Crm systen the central dialog form and its tabs - the whole thing is controlled by making visible and hiding the dialog form.

the manual VolII chapter 5 page 69 says quote ‘this method is triggered EVERY TIME the form is displayed’ - for displayed i take to mean ‘made visible’

Are you telling me that this is not true and is only triggered by other specific events?

I started to wonder what you do when you said this:

not every time the form is made visible

I don’t have 3.0.1 running right now. Is there anybody that can confirm this?