Versions des environnements
>In changing a regular textbox on a form to one that was based on a class I created, I had to carry over some code that was in the LostFocus and the Refresh methods that was form specific. The LostFocus just had a THISFORM.REFRESH call in it. I was amazed how fast you can crash VFP if you accidentally put that code in the Refresh method of the textbox! <g>
I tried this with two stock textboxes and a stock commandbutton on the form -- it did not crash... I tried putting a thisform.Refresh() in the Refresh method of the textbox -- it errored out with Nesting Level (recursive calling). But no crash...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement