[Gambas-user] "Long" click

Gianluigi bagonergi at ...626...
Thu Sep 21 11:28:27 CEST 2017


I'm not sure I understand, but that's not enough?

Public Sub Button1_MouseDown()

  Form1.Show()

End

Public Sub Button1_MouseUp()

  Form1.Hide()

End

Regards
Gianluigi

2017-09-21 8:19 GMT+02:00 Miguel Manso <mmanso at ...626...>:

> Hi All,
>
> I'm using gambas3 for some time now and I'd like to know your opinion about
> the best way to implement a "long" click.
>
> The idea is to leave a button presses for a certain amount of seconds and
> without releasing it, a new form will open.
>
> We did this using a timer but I'd like to know if there's any "recommended"
> way of doing it.
>
> Thanks.
>
> --
> Miguel Manso
> ------------------------------------------------------------
> ------------------
> 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