[Gambas-user] How to write code for form menus ?
Demosthenes Koptsis
demosthenesk at ...626...
Wed Apr 9 14:32:10 CEST 2008
Ok, i saw the example application.
But, actually i wanted to be possible to click the first menu and not
use it as parent
for a popup up sub menu.
i see that this is not possible, i will use a button instead.
Thanks for your help.
On 4/9/08, Demosthenes Koptsis <demosthenesk at ...626...> wrote:
> ok i will check out.
>
> Thanks very much.
>
> On 4/9/08, Peter Landgren <peter.talken at ...1879...> wrote:
> > Look nin the atteched project.
> > It's in Swedish, but I think you can understand it.
> >
> > /Peter
> >
> > > Hi to all,
> > >
> > > I have some difficulties with form menus.
> > >
> > > I created a menu with Menu Editor in FMain, called mnuMenu1
> > >
> > > What code i must write for click event of this menu?
> > >
> > > when i click the menu from form design it goes to code editor but
> > > there is no SUB for
> > >
> > > mnuMenu1
> > >
> > > i tried to write the following but does not work.
> > >
> > > PUBLIC SUB mnuMenu1_Click()
> > >
> > > message("menu click")
> > >
> > > END
> > >
> > > I use Gambas2-2.4.0
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > > Don't miss this year's exciting event. There's still time to save $100.
> > > Use priority code J8TL2D2.
> > >
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/java
> > >one _______________________________________________
> > > Gambas-user mailing list
> > > Gambas-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> >
> > --
> > Peter Landgren
> > Talken Hagen
> > 671 94 Brunskog
> > SWEDEN
> >
> > 0570-530 21
> > 070-635 4719
> > peter.talken at ...1879...
> > skype:pgl4820.2
> >
>
>
> --
>
> Γεια χαρα σε όλους!!!
>
> Regards,
>
> Demosthenes Koptsis
>
--
Γεια χαρα σε όλους!!!
Regards,
Demosthenes Koptsis
More information about the User
mailing list