Página 1 de 1

SetFocus

Publicado: Mié Nov 09, 2005 11:27 am
por Ingo
After creating and showing a nonmodal dialog I want to set the focus back
to the parent window.
1.
::oParent:SetFocus()
in the FormInitialize() method of the dialogwindow doesn't work
2.
::ExportDlg:=DelGer():New(Self)
::ExportDlg:Show()
::SetFocus()
in the parentwindow doesn't work too
Is there a simple way to set the focus back to the parent window after showing
the childwindow?
Regards
Ingo

SetFocus

Publicado: Jue Nov 10, 2005 9:34 am
por ignacio
Ingo,
Already answered on beta forum.
Regards,
"Ingo" <ingo.jh@web.de> escribió en el mensaje
news:4371cf10$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> After creating and showing a nonmodal dialog I want to set the focus back
> to the parent window.
>
> 1.
> ::oParent:SetFocus()
> in the FormInitialize() method of the dialogwindow doesn't work
>
> 2.
> ::ExportDlg:=DelGer():New(Self)
> ::ExportDlg:Show()
> ::SetFocus()
> in the parentwindow doesn't work too
>
> Is there a simple way to set the focus back to the parent window after
> showing
> the childwindow?
>
> Regards
>
> Ingo

SetFocus

Publicado: Jue Nov 10, 2005 9:34 am
por InvalidAccount
Ingo,
Already answered on beta forum.
Regards,
"Ingo" <ingo.jh@web.de> escribió en el mensaje
news:4371cf10$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>
> After creating and showing a nonmodal dialog I want to set the focus back
> to the parent window.
>
> 1.
> ::oParent:SetFocus()
> in the FormInitialize() method of the dialogwindow doesn't work
>
> 2.
> ::ExportDlg:=DelGer():New(Self)
> ::ExportDlg:Show()
> ::SetFocus()
> in the parentwindow doesn't work too
>
> Is there a simple way to set the focus back to the parent window after
> showing
> the childwindow?
>
> Regards
>
> Ingo