Window child
Posted: Mon Feb 15, 2016 4:54 pm
Hola :
tengo un problema con ventanas child . El mismo consiste en que puedo identificar cuando la ventana ya minimizada es restaurada ya sea desde el menu o desde el Toolbar que llama al procedimiento , pero cuando restauro desde la ventana minimizada (abajo a la izquierda) no logro detectar esta situacion para ubicar el foco del sistema .
Lo que uso es lo siguiente :
Hi there :
I have a problem with child windows. The same is that I can identify when and minimized window is restored either from the menu or from the Toolbar calling the procedure, but when restored from the minimized window (bottom left) failed to detect this situation to place the focus of the system .
What use is this:
If ! IsWindowDefined(Form_420)
Load Window Form_420
ON KEY ESCAPE OF FORM_420 ACTION THISWINDOW.RELEASE
Center Window Form_420
Activate Window Form_420
Else
If IsWindowActive(Form_420)
Select AbmBan
Form_420.Restore
Form_420.Setfocus
Form_420.Browse_1.Setfocus
Else
Form_420.Restore
Endif
Endif
Uso HMG 3.4.2 y Win7 32
Saludos
Mario Mansilla
tengo un problema con ventanas child . El mismo consiste en que puedo identificar cuando la ventana ya minimizada es restaurada ya sea desde el menu o desde el Toolbar que llama al procedimiento , pero cuando restauro desde la ventana minimizada (abajo a la izquierda) no logro detectar esta situacion para ubicar el foco del sistema .
Lo que uso es lo siguiente :
Hi there :
I have a problem with child windows. The same is that I can identify when and minimized window is restored either from the menu or from the Toolbar calling the procedure, but when restored from the minimized window (bottom left) failed to detect this situation to place the focus of the system .
What use is this:
If ! IsWindowDefined(Form_420)
Load Window Form_420
ON KEY ESCAPE OF FORM_420 ACTION THISWINDOW.RELEASE
Center Window Form_420
Activate Window Form_420
Else
If IsWindowActive(Form_420)
Select AbmBan
Form_420.Restore
Form_420.Setfocus
Form_420.Browse_1.Setfocus
Else
Form_420.Restore
Endif
Endif
Uso HMG 3.4.2 y Win7 32
Saludos
Mario Mansilla