Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Known the last datasession
Message
De
12/06/2005 13:03:36
 
 
À
11/06/2005 18:07:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01022522
Message ID:
01022599
Vues:
12
>Specific:
>At design time:
>- click into a Toolbar's button, the toolbar alive into a private datasession.
>- on the Button.Click I must know the datasession active before the button's Mousedown.
>
>General:
>when active a datasession private, because of input a user
>(change form,toolbar,debug suspend a session code ...),
>is possible to know the previous datasession ?
>
>My answer is not, but I always hope in the providence.
>
>Thanks
______________________________________________________________________
Fabio,

I've been thinking. How do you define the datasession active before the button's Mousedown ?

Say that you have two forms active
Form 1 has the focus (can be reached with _screen.ActiveForm)
Form 2 does not have the focus, but has a timer executing that operates in the form's private datasession

If the timer in form 2 executes, which one of the two has the active datasession ?

If it is the former you can use _screen.ActiveForm. If it is the latter, then I don't know an answer to your question
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform