>>
ACTIVATE WINDOW (frmGuest.Name) IN WINDOW (frmHost.Name)
>>Are we asking for trouble handling forms through ACTIVATE WINDOW?
>>
>
>1. forms name must to be unique
>a my big wish is for ( emulate SetParent() API):
>
>ACTIVATE WINDOW (frmGuest.hwnd) IN WINDOW (frmHost.hwnd)
>
>
>2. ACTIVATE WINDOW it is equal to .Visible = .T.,
>but it is not equal to .Show
Hi Fabio,
1. I agree that forms name conflict may be an issue, thus something like ACTIVATE WINDOW (frmGuest.hwnd) IN WINDOW (frmHost.hwnd)would be better than ACTIVATE WINDOW childname IN WINDOW parentname, though SetParent API is easily accesible. Thanks for the SetParent suggestion.
2. I disagree. ACTIVATE WINDOW seems to be equivalent to form.Show (with no arguments); the form.Activate event is raised.
My concern is that the help on ACTIVATE WINDOW states that it should be used on windows created with DEFINE WINDOW. I am not sure what impact this would have on windows created as forms.
Thanks,
Sorin