Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid highlighter error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00549533
Message ID:
00549554
Vues:
24
Nick - I found the problem. When I looked in the PEM , I noticed that GHL was located between the form and grid1 levels. (does this make sense?) I deleted that instance of GHL, and inserted a new one and the form worked fine. Thanks again for you help.
Ken

>>>I'm using Nick Neklioudov's grid highlighter class in a form. The highlighter work fine, however when I exit the form, I get an error that says: Property GRID1 is not found. Debug shows that this error is occurring in the destroy event of the Grid Highlighter class. Any ideas on what I'm doing wrong?
>>>Thanks!
>>
>>Hi Ken,
>>
>>Is it the latest GHL version 3.8.1?
>
>Do you by any chance destroy your grid before you close the form?
>
>The code in GHL destroy is:
>lcHost = THIS.cHostname
>WITH THIS.PARENT.&lcHost.
>   .SetAll("DynamicBackColor", [''], "Column")
>   .SetAll("DynamicForeColor", [''], "Column")
>   .SetAll("DynamicFontBold", [''], "Column")
>ENDWITH
>
>so, if your grid1 does not exist by that moment (which should not happen as GHL should be added to the form after the grid) it should give the error.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform