Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I reopen an SCX file.
Message
De
28/10/1998 14:21:50
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, Californie, États-Unis
 
 
À
28/10/1998 13:31:21
George Lee
Microcomputer Engineering Services, Llc
Huntington Beach, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00151660
Message ID:
00151833
Vues:
20
>>
>>One problem, though, remains. I suppose you determine the current object with ASELOBJ(). But the method window must not match the currently selected object. Some more information can be received from the title, that's what SuperClass from Ken Levy is using. But the problem starts when the current object doesn't match the one in the method window and you have several objects with the same name. There are some techniques you can use to figure out which object is actually meant, but there's no 100% secure way to figure out to which object a method window really belongs.
>>
>>Anyway, your tool sounds really usefull. Do you plan to load it into the library when you're done? If you need a beta tester... :)
>>
>>Christof
>
>Excellent suggestions. And yes I had to plunder Ken Levy's superclass code to get the information I wanted. If I have the time I might be able to solve the above mentioned problem I'll send you the code snippet.


Assume you have a page frame.
On each of these pageframes you have a text box with a field named text1.
You happened to be in the click event of both of these text boxes.
Both have identical code.
You are on a method call "Thisform.Parent.Refresh()".
You want to determine which method you are in so you can decipher Thisform.parent.
You could give a pop list at this point with fully qualified names to each of these text boxes.

I know a quick and dirty fix but if you can't link the method to the form other than through the caption I'm not sure what else you can do.

If you have opened more than one method in one of these text1 object the currently selected window information received from the _EDxxx functions should be enough to determine what the method is because the object is the same.

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

Click here to load this message in the networking platform