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.

TArrayBrowse

Xailer professional forum in English
Responder
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

TArrayBrowse

Mensaje por david fung »

- in a TArrayBrowse, when EDIT() method is fired, I can't determine
which column the user is on because
::oArrayBrowse:nColSel stop updating, any solution ?
- if a column is Numeric with picture = "9999.99", nEditType = beGET,
enter -> edit mode is triggered (content of control is all selected)
enter ".50", all the non-decimal value remains ?????
- Is there any property that I can detect TArrayBrowse is in Edit() mode ?
Regards
David
--
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

TArrayBrowse

Mensaje por david fung »

Is there a property that will enable "Skip over" a column, ie the cell
will not be rested on ? Can it be added, if not so ?
Regards,
david
david fung wrote:
> - in a TArrayBrowse, when EDIT() method is fired, I can't determine
> which column the user is on because
> ::oArrayBrowse:nColSel stop updating, any solution ?
>
> - if a column is Numeric with picture = "9999.99", nEditType = beGET,
> enter -> edit mode is triggered (content of control is all selected)
> enter ".50", all the non-decimal value remains ?????
>
> - Is there any property that I can detect TArrayBrowse is in Edit() mode ?
>
> Regards
> David
>
>
>
david fung
Mensajes: 257
Registrado: Mié Jul 19, 2006 8:48 am

TArrayBrowse

Mensaje por david fung »

Is there a property that will enable "Skip over" a column, ie the cell
will not be rested on ? Can it be added, if not so ?
Regards,
david
david fung wrote:
> - in a TArrayBrowse, when EDIT() method is fired, I can't determine
> which column the user is on because
> ::oArrayBrowse:nColSel stop updating, any solution ?
>
> - if a column is Numeric with picture = "9999.99", nEditType = beGET,
> enter -> edit mode is triggered (content of control is all selected)
> enter ".50", all the non-decimal value remains ?????
>
> - Is there any property that I can detect TArrayBrowse is in Edit() mode ?
>
> Regards
> David
>
>
>
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9443
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

TArrayBrowse

Mensaje por ignacio »

David,
>- in a TArrayBrowse, when EDIT() method is fired, I can't determine
> which column the user is on because
> ::oArrayBrowse:nColSel stop updating, any solution ?
ArrayBrowse:nColSel it works only on browse navigation. If you call the
Browse Edit() method the focus goes to the first visible column. While
moving to all the edit fields you can catch any of the oBrwCol:oGridEdit
events or the oBrwCol:OnExit value that is triggered when ever the control
looses focus. Of course all the events send as first paremeter the Gridedit
object or the Column object, so in any case is quiete easy to retrieve the
column selected.
> - if a column is Numeric with picture = "9999.99", nEditType = beGET,
> enter -> edit mode is triggered (content of control is all selected)
> enter ".50", all the non-decimal value remains ?????
Fixed. Thanks
> - Is there any property that I can detect TArrayBrowse is in Edit() mode ?
oBrwose:lEditMode (It will be documented on next release)
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
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

TArrayBrowse

Mensaje por NoName »

David,
>- in a TArrayBrowse, when EDIT() method is fired, I can't determine
> which column the user is on because
> ::oArrayBrowse:nColSel stop updating, any solution ?
ArrayBrowse:nColSel it works only on browse navigation. If you call the
Browse Edit() method the focus goes to the first visible column. While
moving to all the edit fields you can catch any of the oBrwCol:oGridEdit
events or the oBrwCol:OnExit value that is triggered when ever the control
looses focus. Of course all the events send as first paremeter the Gridedit
object or the Column object, so in any case is quiete easy to retrieve the
column selected.
> - if a column is Numeric with picture = "9999.99", nEditType = beGET,
> enter -> edit mode is triggered (content of control is all selected)
> enter ".50", all the non-decimal value remains ?????
Fixed. Thanks
> - Is there any property that I can detect TArrayBrowse is in Edit() mode ?
oBrwose:lEditMode (It will be documented on next release)
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
Responder