ah, the problem was i write:

"FLogin.ShowModal"

and due its a function must be:

"FLogin.ShowModal()"

thanks Jussi..

why this heck are not well documented in the wiki?

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-07-10 16:19 GMT-04:00 Jussi Lahtinen <[email protected]>:

> Public Sub Main()
>
> Dim ii As Integer = FLogin.ShowModal()
>
> End
>
> ''Now the ii contains the output.
>
> PS. Are you sure that is override of something?
>
>
> Jussi
>
>
>
> On Mon, Jul 10, 2017 at 11:02 PM, PICCORO McKAY Lenz <
> [email protected]
> > wrote:
>
> > i have a simple module:
> >
> >
> > Public Sub Main()
> >
> >   FLogin.ShowModal
> >
> > End
> >
> > and on the FLogin.class i have a simple override of a buton event:
> >
> > Public Sub closebtn_Click()
> >
> >   Me.Close(33)
> >
> > End
> >
> > how can i trap in the MMain module in main the reponse of the FLogin
> > without explicit call to moduleo inside the FLogin form.. ?
> >
> >
> >
> > Lenz McKAY Gerardo (PICCORO)
> > http://qgqlochekone.blogspot.com
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gambas-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to