Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need CODE() command
Message
 
 
À
11/11/1999 10:12:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00290062
Message ID:
00290075
Vues:
22
>>I'm looking for something along the lines of PROGRAM() and LINENO() that would return the current line of code. Does anything like that exist?
>>
>>My problem is that a messagebox is popping up that I want to get rid of. But I have no idea where in this rats nest AKA SBT code it is. So I would like to set a breakpoint on "MESSAGEBOX" $ CODE(). I have a feeling this isn't possible, but I thought I'd ask just in case.
>>
>>Thanks,
>>
>>Michelle
>
>Can you do a textsearch throught the code for the message string that is being displayed? That is of course assuming the message is hardcoded in the program.
>
>BOb

The problem is that more than likely there's a generic program that displays the message, so what I really want is the program right before it. Hmmm... I suppose if I did a text search and found the generic program, I could set a break point there. I hadn't thought of it from that angle. I'll try that.

Thanks,

Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform