In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

OnGetFocus() event

Xailer professional forum in English
Responder
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

OnGetFocus() event

Mensaje por Gejza Horvath »

Ignacio,
I would like to do something while the TFolderPage control gets a focus after click on it
(is displayed in the foreground as the active page). Does it exist some event like
OnGetFocus() or similar?
Gejza Horvath
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

OnGetFocus() event

Mensaje por ignacio »

Gejza,
OnEnter(), but is only available on controls that indeed receive the focus
which is not the case of TFolderPage. BTW, you can overload
TFolderPage:WMSETFOCUS to fire your own event or use the event
TForm:OnChangeFocus()
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:468c9b15$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> I would like to do something while the TFolderPage control gets a focus
> after click on it (is displayed in the foreground as the active page).
> Does it exist some event like OnGetFocus() or similar?
>
> Gejza Horvath
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
NoName
Mensajes: 531
Registrado: Vie Feb 03, 2006 7:27 pm

OnGetFocus() event

Mensaje por NoName »

Gejza,
OnEnter(), but is only available on controls that indeed receive the focus
which is not the case of TFolderPage. BTW, you can overload
TFolderPage:WMSETFOCUS to fire your own event or use the event
TForm:OnChangeFocus()
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:468c9b15$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> I would like to do something while the TFolderPage control gets a focus
> after click on it (is displayed in the foreground as the active page).
> Does it exist some event like OnGetFocus() or similar?
>
> Gejza Horvath
>
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

OnGetFocus() event

Mensaje por Gejza Horvath »

Thanks,
TForm:OnChangeFocus() is what I'm looking for
Gejza
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> pí¹e v diskusním pøíspìvku
news:468ca085$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Gejza,
>
> OnEnter(), but is only available on controls that indeed receive the focus which is not
> the case of TFolderPage. BTW, you can overload TFolderPage:WMSETFOCUS to fire your own
> event or use the event TForm:OnChangeFocus()
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
> news:468c9b15$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> I would like to do something while the TFolderPage control gets a focus after click on
>> it (is displayed in the foreground as the active page). Does it exist some event like
>> OnGetFocus() or similar?
>>
>> Gejza Horvath
>>
>
>
>
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

OnGetFocus() event

Mensaje por Gejza Horvath »

Thanks,
TForm:OnChangeFocus() is what I'm looking for
Gejza
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> pí¹e v diskusním pøíspìvku
news:468ca085$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Gejza,
>
> OnEnter(), but is only available on controls that indeed receive the focus which is not
> the case of TFolderPage. BTW, you can overload TFolderPage:WMSETFOCUS to fire your own
> event or use the event TForm:OnChangeFocus()
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
> news:468c9b15$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> I would like to do something while the TFolderPage control gets a focus after click on
>> it (is displayed in the foreground as the active page). Does it exist some event like
>> OnGetFocus() or similar?
>>
>> Gejza Horvath
>>
>
>
>
Responder