[Gambas-user] About Groups of Controls
Jorge Carrión
shordi at ...626...
Fri Dec 4 16:49:22 CET 2015
Oh... ok, then. All that has been an accident... but a instructive
accident, I guess...
😁
Regards
2015-12-04 14:14 GMT+01:00 Benoît Minisini <gambas at ...1...>:
> Le 04/12/2015 13:49, Jorge Carrión a écrit :
> > I didn't expect nothing. It was an accident: I copied and pasted the code
> > with de .Action property line inadvertently from other project and get
> > surprised by the behaviour.
> >
> > Either way I don't understand why this behaviour. I think that should
> call
> > the _click event and the Action_Activate event, but not the click Event
> > several times...
> >
> > Regards
> >
>
> The Action_Activate is called once when you toggle one of the button,
> but The Click event is called once for each control sharing the same
> action.
>
> All controls sharing the same action should have the same state: they
> represent the same action displayed differently at different places.
>
> It's mainly useful when you want to associate a menu entry with a
> toolbar button.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> 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