[Gambas-user] configuring toolbar in code

richard terry rterry at ...1946...
Fri Aug 28 00:26:43 CEST 2009


On Friday 28 August 2009 08:14:51 Benoît Minisini wrote:
> > 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,
Don't suppoise you could point me to a sample code in the IDE?




More information about the User mailing list