> Il martedì 1 settembre 2009 10:28:25 Benoît Minisini ha scritto:
> > > Hi Gambas users.
> > > Is it possible to assign some action to a menu directly (this menu has
> > > just one item and it is silly to click first on a menu and then on the
> > > only item) Alternatively, Is it possible to place a simple button on a
> > > menu line of the form?
> > > Also is there any way (I cannot find it, sorry) to change  menu color
> > > like it is possible for the form background?
> > > Aleks
> >
> > No, no, no.
> >
> > 1) A menu title cannot act like a button.
>
> Yes, it can ;-)
>
> I've attached an example.
> Just click on the menu title and you throw two dices.
> It uses the Show event. Not clean but it works.
>
> Saluti,
>
> Stefano
>

But it may not work anymore on another toolkit or in the future!

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