[Gambas-user] Bug in menu editor?

PV oreip at ...1...
Thu Jul 14 14:10:59 CEST 2005


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





More information about the User mailing list