[Gambas-user] how to trap show modal close response?

PICCORO McKAY Lenz mckaygerhard at ...626...
Mon Jul 10 23:01:52 CEST 2017


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 <jussi.lahtinen at ...626...>:

> 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 <
> mckaygerhard at ...626...
> > 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
> > Gambas-user at lists.sourceforge.net
> > 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
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list