Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing headers in VFP7
Message
De
30/10/2001 10:20:49
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00574795
Message ID:
00575049
Vues:
27
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.

>Hi!
>
>Can you send the exact code line that shows such error? Just debug application step by step and see what is the command.
>
>Do a global search in the project for "HDR1" word and see where it is used.
>
>
>>I recompiled my application in VFP7 and now I'm running into problems. It works fine from the command window, but I'm getting errors in my exe. When I RightClick on a grid and select Edit from the menu, it is supposed to bring up another form but instead I get an error saying "File 'HDR1' does not exist." The only time I use 'HDR1' is when I instantiate my header class, in the init of my grids. For each column, the code looks something like this:
>> loCol.AddObject("Hdr1",This.cHeaderClass,lcCaption,lnAlign)
>> loCol.Hdr1.Name="Header1"
>>I don't understand why RightClicking on a textbox in the grid should have anything to do with this, but I can't find any other source. Any help would be greatly appreciated.
>>
>>Thanks,
>>Elyse
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform