Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_CUROBJ in VFP 5.0
Message
 
À
10/05/1998 01:25:25
Mark Austen
Schooner Software Limited
Msida, Malta
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00098292
Message ID:
00098366
Vues:
31
Mark,

I found the problem and thought I'd post it just to finish the thread in case anybody else shoud read the first two parts.

I had all of the facts but I just didn't put the facts togeather. Like I said, VFP was running an SPR which had a READ and, therefor, according to MS the _CUROBJ= code should have worked. What I failed to see, although it was right in front of me, was that the WHEN clause was calling an external prg which had the _CUROBJ= code in it which was, therefor, outside of the READ. I took the _CUROBJ= out of the external prg and inserted it directly into the WHEN clause and, voila, everything worked fine.

Ed

>Ed,
>
>I don't know why M$ left CUROBJ in since it no longer works. You will need to find every occurence of CUROBJ and replace it with the correct call to SetFocus().
>
>For example, if the object you are changing the focus to has the name of txtLastFocus and it is in the same container as the object you are currently on, the issuing This.Parent.txtLastFocus.SetFocus() will set the focus to the object you want. It gets a bit more complicated if the objects are in different containers, but you see the idea.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform