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.

TDBBrowser OnChange() event not triggered

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

TDBBrowser OnChange() event not triggered

Mensaje por Gejza Horvath »

Hi,
I have a TDBBrowser with attached TDbfDataSet. When I change the browser position manually
(mouse or keyboard), the browsers OnChange() event is triggered. Moving the record
position manipulating the dataset directly like oDataset:Seek(), the browser selector
moves to the right record, but without executing the OnChange event. Is this a bug or a
normal behaviour?
Gejza Horváth
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9469
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TDBBrowser OnChange() event not triggered

Mensaje por ignacio »

Gejza,
Is normal behaviour. The OnChange event is only triggered by end user
action. BTW, if you need that the event is triggered, you can always do it
your self calling the OnChange() event.
Regards
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=469f2448@ozsrv2.ozlan.local...]469f2448@ozsrv2.ozlan.local...[/email]
> Hi,
>
> I have a TDBBrowser with attached TDbfDataSet. When I change the browser
> position manually (mouse or keyboard), the browsers OnChange() event is
> triggered. Moving the record position manipulating the dataset directly
> like oDataset:Seek(), the browser selector moves to the right record, but
> without executing the OnChange event. Is this a bug or a normal behaviour?
>
> Gejza Horváth
>
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

TDBBrowser OnChange() event not triggered

Mensaje por NoName »

Gejza,
Is normal behaviour. The OnChange event is only triggered by end user
action. BTW, if you need that the event is triggered, you can always do it
your self calling the OnChange() event.
Regards
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Gejza Horvath" <_hsoftkn@nextra.sk> escribió en el mensaje
news:[email=469f2448@ozsrv2.ozlan.local...]469f2448@ozsrv2.ozlan.local...[/email]
> Hi,
>
> I have a TDBBrowser with attached TDbfDataSet. When I change the browser
> position manually (mouse or keyboard), the browsers OnChange() event is
> triggered. Moving the record position manipulating the dataset directly
> like oDataset:Seek(), the browser selector moves to the right record, but
> without executing the OnChange event. Is this a bug or a normal behaviour?
>
> Gejza Horváth
>
Responder