Alessio,
Why are you adding controls directly to _screen? You should consider using your own form instead.
You should use the debugger to help you trace through the code at runtime and find out what line of code is causing VFP to crash. You can do this with a SET STEP ON command inside your code.
>It works but i got a problem, when I activate the first page of the Frame the program exit and close even the VFP main windows.
>Why ?
>_screen.AddObject('Pgmenu','menu') && Menu is an empty pageframe,
> &&I also tried with the default pageframe class