onHide

Questions, tips and tricks and techniques for scripting in Servoy

onHide

Postby Hans Nieuwenhuis » Wed Jun 19, 2013 9:46 am

Hi,

in 5.2.15 the onHide of the active form is fired when the smart client is stopped.
in 7.1 it is not fired in the same situation

Bug or Feature ?
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands

Re: onHide

Postby jcompagner » Thu Aug 01, 2013 12:02 pm

i think this is some side effect, i tested it and yes in 5.2 it is fired and in 7.x it is not, but that is because in 7.1 there is a check like "is solution loaded" before executing a function
that that is false (and that should also be false already i think in 5.2)
But also do you want the onhide to be able to cancel the close/exit? That doesn't work in 5.2 either
So i guess you can make a case so that we can look at it.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8829
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: onHide

Postby Hans Nieuwenhuis » Thu Aug 01, 2013 12:22 pm

Thanks Johan,

I'll make a case.

Could you also look at this one :
https://www.servoy.com/forum/viewtopic.php?f=3&t=19634

Regards,
Hans Nieuwenhuis
Betagraphics
http://www.deltics.nl
http://www.betagraphics.nl

Servoy Version 7.3.1
Java version 1.7.0.x
Database Oracle 11g
User avatar
Hans Nieuwenhuis
 
Posts: 1026
Joined: Thu Apr 12, 2007 12:36 pm
Location: Hengelo, The Netherlands


Return to Methods

Who is online

Users browsing this forum: No registered users and 5 guests