>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