Consulta window child

HMG en Español

Moderator: Rathinagiri

Post Reply
Mario Mansilla
Posts: 270
Joined: Wed Aug 13, 2008 2:35 pm
Location: Córdoba - Argentina

Consulta window child

Post by Mario Mansilla »

Hola Amigos :
Como puedo capturar el evento que se ejecuta cuando restauro una ventana child minimizada , no desde el boton del toolbar ni desde el menu sino desde boton restaurar que se crea abajo a la izquierda cuando minimizo la ventana .

Para restaurar desde el menu o el toolbar realizo lo siguiente

If ! IsWindowDefined(Form_50)
Load Window Form_50
Center Window Form_50
Activate Window Form_50
Else
If IsWindowActive(Form_50)
Form_50.Restore
Form_50.Setfocus
Else
Form_50.Restore
Endif
Endif

Pero cuando restauro desde el boton restaurar de la barra de tarea (abajo a izquierda) no se como capturar ese evento

Saludos cordiales
Mario Rafael Mansilla

*------- Google

Hello friends :
How can I capture the event that is executed when I restore a minimized child window, not from the toolbar button or from the menu but from the restore button that is created at the bottom left when I minimize the window.

To restore from the menu or toolbar, do the following

If ! IsWindowDefined(Form_50)
Load Window Form_50
Center Window Form_50
Activate Window Form_50
Else
If IsWindowActive(Form_50)
Form_50.Restore
Form_50.Setfocus
Else
Form_50.Restore
Endif
Endif

But when I restore from the restore button on the task bar (bottom left) I don't know how to capture that event

Kind regards
Mario Rafael Mansilla
User avatar
AUGE_OHR
Posts: 2065
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Consulta window child

Post by AUGE_OHR »

hi,

instead of "minimize" you can Hide() it and "restore" with show() commend
have fun
Jimmy
Post Reply