> 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?
>

There is no code at all. You define these properties in the property sheet. 
Look at the main toolbar in the FMain form of the IDE for example, and in the 
menus.

-- 
Benoît

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to