Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I add code to a class ?
Message
 
 
To
02/03/2004 09:38:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00881982
Message ID:
00882400
Views:
15
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
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform