# possible bug in Version 3.0.1-build 372 - onshow

**URL:** <https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721>\
**Category:** Classic Servoy\
**Created:** [November 10, 2006, 8:59am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721 "2006-11-10T08:59:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Manxman](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@Manxman](https://forum.servoy.com/u/Manxman)\
**Post date:** [November 10, 2006, 8:59am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/1 "2006-11-10T08:59:12Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [November 10, 2006, 9:11am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/2 "2006-11-10T09:11:01Z")

</div>

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)?

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [November 10, 2006, 9:52am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/3 "2006-11-10T09:52:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [November 10, 2006, 9:55am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/4 "2006-11-10T09:55:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Manxman](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@Manxman](https://forum.servoy.com/u/Manxman)\
**Post date:** [November 10, 2006, 10:22am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/5 "2006-11-10T10:22:29Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [November 10, 2006, 10:26am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/6 "2006-11-10T10:26:22Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Manxman](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@Manxman](https://forum.servoy.com/u/Manxman)\
**Post date:** [November 10, 2006, 10:37am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/7 "2006-11-10T10:37:39Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![IT2Be](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@IT2Be](https://forum.servoy.com/u/IT2Be)\
**Post date:** [November 10, 2006, 11:14am UTC](https://forum.servoy.com/t/possible-bug-in-version-3-0-1-build-372-onshow/6721/8 "2006-11-10T11:14:31Z")

</div>

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?
