Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call a procedure from another within the same obj
Message
De
06/01/2005 09:30:22
 
 
À
06/01/2005 07:47:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00974650
Message ID:
00974672
Vues:
19
>Hi,
>
>I have a txtgrid object in a class library in my project which has many custom procedures added to it, as well as utilizing many of the standard procedures. I have quit a bit of checking/verifying written into the LostFocus procedure, and need to call that code from the middle of one of my custom procedures. My problem is with my call to the LostFocus procedure: When I step through my code in the debugger, the app doesn't process the code in the LostFocus procedure. Fox doesn't error out, either. It just seems to read the line, and move on to the next one. Here's my code in my custom procedure:
>
>THIS.LOSTFOCUS()
>
>What am I doing wrong?
>
>Thanks for reading, and any suggestions would be greatly appreciated!

It must work.
But you must make attention, when you are in a window of debug frame,
the form is deactivated, and therefore who controls is "this"?

Fabio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform