[Gambas-user] How to write code for form menus ?

Demosthenes Koptsis demosthenesk at ...626...
Wed Apr 9 11:10:42 CEST 2008


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




More information about the User mailing list