[Gambas-user] Two more questions about Action

Benoît Minisini g4mba5 at gmail.com
Sun Apr 29 18:35:07 CEST 2018


Some fixes...

>     Yes, it is a bit difficult to explain.
> 
>     1) When you do Action["xxx"], all controls whose Action is set to
>     "xxx" are returned.
> 
>     2) Action[] takes a second argument that indicated the observer of

--> indicates

>     the action. If not specified, all controls associated with that
>     action are returned.
> 
>     3) Action names starting with a point are (almost) just a convention
>     that means that they intend to be local to their current event
>     observer (usually their form).
> 
>     4) Actions starting with a point have the same shortcuts as the

--> shortcut

>     action without the initial point.
> 
>     5) Control having the same action are supposed to have the same text
>     and the same icon. If you don't, the text and the icon of one of the

--> if they don't

>     control will be used.
> 

-- 
Benoît Minisini


More information about the User mailing list