[Gambas-user] Bug in menu editor?

Benoit Minisini gambas at ...1...
Thu Jul 14 19:09:32 CEST 2005


On Thursday 14 July 2005 14:10, PV wrote:
> On 14/07/2005 11:00, BUDI ARIEF GUSANDI wrote:
> > It is not like VB menu when item menu with checked option clicked it
> > will check/uncheck the item menu automatically (if i dont forget ;))
> > In gambas u should do it via code in the menu item event click. For
> > example u have item menu named mnuShowMe.
> >
> > Public Sub mnuShowMe_click()
> >  mnuShowMe.Checked = Not mnuShowMe.Checked
> > End
>
> Probably I didn't express the problem clearly.
>
> I am not talking about checking/unchecking a single menu item: I am talking
> about the menu editor (right click on a form -> menu editor), where I can
> check/uncheck the checkbox indicating whether the menu will be visible or
> not.
>
> If I want a menu to be hidden (i.e. to be shown later with the right mouse
> button), I need to uncheck (that is, to clear) the checkbox labeled
> "visible" in the menu editor.
> The problem is that, after clearing the checkbox labeled "visible",
> pressing OK and closing the menu editor, if I reopen immediately the menu
> editor again, that checkbox is checked again, even if I cleared it, so the
> menu will be visible and not hidden.
>
> Seems like the story of the "ghost" ampersand in button text that has been
> on the list some time ago... :-)
>
> Ciao,
> Piero
>

This is a consequence of one of the many bugs I added in the interpreter with 
the 1.9.11. This is fixed in the 1.9.12 I'm currently uploading to 
sourceforge!

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list