Página 1 de 1
TArrayBrowse
Publicado: Mar Nov 14, 2006 10:01 am
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
--
TArrayBrowse
Publicado: Mar Nov 14, 2006 10:37 am
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
>
>
>
TArrayBrowse
Publicado: Mar Nov 14, 2006 10:37 am
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
>
>
>
TArrayBrowse
Publicado: Mar Nov 14, 2006 10:57 am
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
TArrayBrowse
Publicado: Mar Nov 14, 2006 10:57 am
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