[Gambas-user] Bug in menu editor?

BUDI ARIEF GUSANDI budi.a.gusandi at ...626...
Thu Jul 14 11:00:24 CEST 2005


PV wrote:

> Hi all,
>
> I just noticed something in Gambas 1.9.11 which didn't happen in 
> previous versions.
> I have a popup menu which is not checked as visible in the menu editor 
> and is shown via a call to the popup() method when the right mouse 
> button is pressed.
>
> The problem now is that I can uncheck the "visible" checkbutton for 
> the popup menu but it is shown anyway because, if I reopen the menu 
> editor later, the "visible" checkbutton is checked again and there 
> doesn't seem to be a way to permanently uncheck it.
>
> Is anybody else experiencing the same problem?
>
> TIA,
> Piero
>
>
Piero...

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

That will check and uncheck mnuShowme as you want.

Regards,
Budi




More information about the User mailing list