When does OnBookMark Event gets invoked in TBrowse ?
If I wish to know my Record Position (absolute and not relative) in Browse,
can I use this Event ?
If Yes, how ?
TIA
Milan.
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.
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.
When does OnBookMark Event gets invoked ?
-
- Mensajes: 140
- Registrado: Dom Dic 27, 2009 9:54 am
- ignacio
- Site Admin
- Mensajes: 9443
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
When does OnBookMark Event gets invoked ?
Milan Mehta escribió el sáb, 27 julio 2013 16:15When does OnBookMark Event gets invoked in TBrowse ?
If I wish to know my Record Position (absolute and not relative) in Browse,
can I use this Event ?
If Yes, how ?
TIA
Milan.
Milan,
The OnBookMark event is triggered every time the Browse gets or sets the 'Recno' position. Is normally used to change the standard bookmark behaviour.
The Absolute position:
In TArrayBrowse: Use nArrayAt
Note: If your array is reordered or filtered, use the method nArrayOrgAt() (not documented)
In TDbfBrowse: Use method Bookmark() or DbRecno() as always.
In TDBBrowse: Use method Bookmark()
Regards,
If I wish to know my Record Position (absolute and not relative) in Browse,
can I use this Event ?
If Yes, how ?
TIA
Milan.
Milan,
The OnBookMark event is triggered every time the Browse gets or sets the 'Recno' position. Is normally used to change the standard bookmark behaviour.
The Absolute position:
In TArrayBrowse: Use nArrayAt
Note: If your array is reordered or filtered, use the method nArrayOrgAt() (not documented)
In TDbfBrowse: Use method Bookmark() or DbRecno() as always.
In TDBBrowse: Use method Bookmark()
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com