[Gambas-user] No menu

ron ronstk at ...239...
Mon Mar 22 22:44:24 CET 2004


On Monday 22 March 2004 22:13, Benoit Minisini wrote:
> On Monday 22 March 2004 17:57, ron wrote:
> > On Monday 22 March 2004 17:38, Benoit Minisini wrote:
> > > On Tuesday 16 March 2004 20:04, Pozzo wrote:
> > > > Hi All
> > > > I'm already working on the Gmine game and I tried to create a menu on
> > > > it but when I finished it and I tried to run it it told me that there
> > > > was a Syntax error on the last line of the project, so I retried many
> > > > times but nothing works, then I tried to create a menu on an empty
> > > > project and it works. I really don't understand what's happening.
> > > >
> > > > P.S. here is the project
> > > >
> > > > Maurizio
> > >
> > > OK. I fixed the bug: now the compiler deals correctly with control or
> > > menus whose name is the same as existing classes.
> > >
> > > In any case, you should avoid naming your controls with class names!
> > >
> > > Regards,
> >
> > A question about the menu names.
> > Are underscores allowed?
> > In my project I build for completion I had them and now I get errors
> > on them but they still works.
> >
> > Ron
>
> Yes, underscores are allowed. But what do you mean by "I get errors on
> them" ?

When I click on &Paste or &Undo in the list I get the snapshot
As you can see the name is in such case mnuEdit_Undo.
Before the underscore is the menubar and the entries are after the underscore.


Ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: menu-bug.png
Type: image/png
Size: 16529 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040322/ba9173b2/attachment.png>


More information about the User mailing list