Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nick - Grid Highlighter Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00635977
Message ID:
00636048
Vues:
17
>>>I have been using your Grid Highlighter Class for some time and have been very happy. Everyonce in a while I get into a situation where I will error message come up when destroying a form. Simply by bringing the class or the grid to the foreground or putting one in the background solves the issues.
>>>
>>>Well I have been beating my head against a the wall today with the following situation.
>>>
>>>I have a form with 4 grids on with 2 of the grids using the highlight class. Depending on the sequence of controls getting the last focus and destroying the form, I have been getting either
>>>
>>>(1) No Erros
>>>(2) Error - "Property Grid# is not found expression is not valid outside with/end" followed by other errors in releasing form
>>>(3) Error - "Expression is invalid Use a valid expression for dynamicForeColor property" followed by other erros in releasing form
>>>
>>>I tried all kinds of foreground and background settings with out success.
>>>
>>>The only way I have found to make it work is in the QueryUnload is to set focus to one of the grids before releasing.
>>>
>>>Do you have any suggestions on why or what I am possibly doing wrong?
>>>
>>>Thanks in advance
>>
>>Hi Ronald,
>>
>>Could you send me your form with all related files and specify the sequences to reproduce?
>>
>>#2 typically should be resolved by changing the ZOrder. I would like to take a look to this particular situation.
>
>Hi Nick,
>
>I believe you resolved Destroy problem in one of your recent version. Is it a separate problem?

Seems it is something different. If the grid still exists by that moment that code should not matter, but as Ronald says it requires setting focus to the grid to work properly.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform