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

Jussi Lahtinen jussi.lahtinen at ...626...
Mon Jul 10 22:19:31 CEST 2017


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
>



More information about the User mailing list