[Gambas-user] Form.Show... - BIS
Jussi Lahtinen
jussi.lahtinen at ...626...
Tue Apr 29 23:50:51 CEST 2014
Yes, you need to instantiate them; class --> object. Forms are just static
classes.
Jussi
On Tue, Apr 29, 2014 at 5:41 PM, Ru Vuott <vuott at ...325...> wrote:
> .....uhmmm, but if I create the three Forms by code, your suggestion works.
>
> well. ...solved.
>
> Bye
> vuott
>
>
>
> --------------------------------------------
> Mar 29/4/14, Ru Vuott <vuott at ...325...> ha scritto:
>
> Oggetto: Re: [Gambas-user] Form.Show by name as string of form
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Martedì 29 Aprile 2014, 16:29
>
> Hi Jussi,
>
> I created the Forms via IDE and I attributed your names to
> them.
>
> With regard to error, I attached a file immage about it.
>
> bye
> vuottt
>
> P.S.: My system:
>
> [System]
> Gambas=3.5.90
> OperatingSystem=Linux
> Kernel=3.11.0-12-generic
> Architecture=x86_64
> Distribution=Linux Mint 16 Petra
> Desktop=GNOME
> Theme=QCleanlooks
> Language=it_IT.UTF-8
> Memory=3954M
> [Libraries]
> Cairo=libcairo.so.2.11200.16
> DBus=libdbus-1.so.3.7.4
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.200.0
> GTK+3=libgtk-3.so.0.803.4
> GTK+=libgtk-x11-2.0.so.0.2400.20
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.43.0.0
> Qt4=libQtCore.so.4.8.4
> SDL=libSDL-1.2.so.0.11.4
>
>
>
>
>
> --------------------------------------------
> Mar 29/4/14, Jussi Lahtinen <jussi.lahtinen at ...626...>
> ha scritto:
>
> Oggetto: Re: [Gambas-user] Form.Show by name as string of
> form
> A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net>
> Data: Martedì 29 Aprile 2014, 14:42
>
> > I tried your
> suggestion, but an error-notice is raised:
> >
> > " Not an
> object "
> >
>
> Where the error comes?
> I just
> tested the code and it works on my system.
> How do you declare the forms?
>
>
>
>
> >
> Object.Call(hMyForms["Form_name_1"],
> "Show", Null)
> >
>
> This should be same thing than
> hMyForms["Form_name_1"].Show. In both cases
> you need valid object...
>
>
>
> Jussi
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated
> Cross-Browser Testing - For FREE
> Instantly
> run your Selenium tests across 300+ browser/OS combos.
> Get
>
> unparalleled scalability from the best
> Selenium testing platform available.
> Simple
> to use. Nothing to install. Get started now for
> free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> -----Segue allegato-----
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing
> - For FREE
> Instantly run your Selenium tests across 300+ browser/OS
> combos. Get
> unparalleled scalability from the best Selenium testing
> platform available.
> Simple to use. Nothing to install. Get started now for
> free."
> http://p.sf.net/sfu/SauceLabs
> -----Segue allegato-----
>
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list