Le 27/11/2014 14:08, Stephen a écrit : > GAMBAS: 3.5.4 > Fedora 20 in a VM under 64 bit CentOS 6.5 > MATE Desktop > > I'm a bit confused (some would say it's my normal state:) as to why, > when a form is dynamically instantiated within a tabstrip (or other > container) the Open and Show events for the instantiated form don't > fire. This can be worked around by making a Show subroutine that can be > manually called from the parent form. > > Have a look at the source demonstration project attached to this email. > > Should these events fire? If not then why? >
Because you override the event observer when instanciating Form1, which is by default itself. Don't override it, and it will work. -- Benoît Minisini ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
