Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do determine the current active control
Message
De
30/10/1999 10:35:59
 
 
À
30/10/1999 10:07:09
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00284298
Message ID:
00284309
Vues:
21
Add code in the GotFocus event of all form containers and controls that sets a custom form property to the container name. Reference that form property for the name of the last active container.


>I am developing a module for an ongoing project that will let customers add custom field definitions to the currently selected form.
>
>I need a way to determine at all times what the current parent container is for any object that currently has focus.
>
>IF I want to add a custom field to thisform.pageframe1.page2, I would activate that page, and click on the "add custome field" button on the main form. I need to pass the current container to the called object, but I can't figure out a way to determine what the last active container was.
>
>Help?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform