>>>Do you know if it's exist a way to get a reference to the last active form. You know like the ACTIVEFORM property for the _screen object but for the last one.
>>>
>>>Thank's for your help.
>>>Rock
>>
>>You can get the parent/child window stack using the
>>WCHILD(). (Put it in a loop.)
>>Although, the way I interpret you question
>>it sounds like you need to save the form's name
>>to a variable when you deactivate it.
>>
>>Chris
>
>Hi Chris
>
>What i Need, it is not a name of the last window but a object reference to it, because i want call some methode of it.
>exemple :
>
>i create a property call LASTFORM
>
>_screen.LASTFORM = {reference of the last active form}
>_screen.LASTFORM.Add()
If you have the name of the wanted form in _screen.LASTFORM, you can do the following:
MyVar="_screen."+_screen.LASTFORM+".Add()"
&MyVar
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement