> I'm creating a menu in the menu editor: > > File > Exit > Input > Modify > > And I'm getting this error wher try to run it:"Unexpected INPUT in form > definition" > > This is the conten of the .form file > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > # Gambas Form File 2.0 > > { Form Form > MoveScaled(0,0,83,60) > Text = ("") > { File Menu > Text = ("&File") > { Exit Menu Exit > Name = "Exit" > Text = ("&Exit") > } > } > { Input Menu > Text = ("Input") > { Modify Menu Modify > Name = "Modify" > Text = ("&Modify") > } > } > } > +++++++++++++++++++++++++++++++++++++++++ > If I move "Modify" submenu to the same level as "Input" the error > dissapears. > > I tried it in gambas 2.13 and and 2.21
This is a bug. But try to not use reserved words as menu names, it will help! -- Benoît Minisini ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user