Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing headers in VFP7
Message
De
30/10/2001 17:08:18
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
30/10/2001 15:59:33
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00574795
Message ID:
00575347
Vues:
24
>>I searched the project and this is what I came up with as the only place I use "HDR1". I can't pinpoint the code that causes the error. The error only occurs when the program is run from the exe, where I can't debug. If I run it from the command window within VFP it is fine. That's what's making me crazy! And this was working beautifully in VFP6.
>
>You can debug the .exe if you
do your.exe
from the command window. Could it be your grid is looking for its recordsource and getting instantiated as soon as it sees it? You may put a breakpoint in your code on one of those lines where hdr1 is mentioned and try to run the exe with that. One more thing - if this is happening as I imagine it is, your header class .prg file is still not set procedure to - you may use newobject() instead of addobject() and see if that fixes it.

I just tried using newobject() but I have the same problem.
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform