[Gambas-user] Unexpected INPUT in form definition

Benoît Minisini gambas at ...1...
Tue Sep 13 17:49:37 CEST 2011


> 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




More information about the User mailing list