[Gambas-user] configuring toolbar in code
Benoît Minisini
gambas at ...1...
Fri Aug 28 00:14:51 CEST 2009
> On Friday 28 August 2009 07:37:46 Benoît Minisini wrote:
> > > I wondered if anyone had the code/knew how to make ones program react
> > > to the user clickign on that little vertical button on the end of a
> > > toolbar - to popup a list of available tool buttons and allow
> > > drag-n-drop, like in the gambas IDE. I trolled the gambas3 ide code but
> > > couldn't find it.
> > >
> > > Regards
> > >
> > > Richard
> >
> > It is automatic. Otherwise you have the Action.ConfigureToolbar() method
> > if you really want to open the configuration toolbar by hand.
> >
> > Regards,
>
> Nothing popups up when I click mine, must be doing something wrong. I'll
> take another look.
>
> Richard
>
You must define the toolbar key property, and the action property of each
toolbar control.
Regards,
--
Benoît
More information about the User
mailing list