FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xbrowse edit column
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
xbrowse edit column
Posted: Wed Aug 08, 2018 03:16 AM

Hi,

I have a array xbrowse, how i can turn a cell editable and process a function when finish edit and make total this column?

Thanks in advance.

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse edit column
Posted: Wed Aug 08, 2018 12:00 PM

Set oCol:nEditType := EDIT_GET. That makes the cell editable.
If you are not using a very old version of FWH, retotalling is automatically done by XBrowse.

When

Regards



G. N. Rao.

Hyderabad, India
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Re: xbrowse edit column
Posted: Wed Aug 08, 2018 01:36 PM
nageswaragunupudi wrote:Set oCol:nEditType := EDIT_GET. That makes the cell editable.
If you are not using a very old version of FWH, retotalling is automatically done by XBrowse.

When


Thanks for the answer but is not column totals, other totals in gets with many expressions. I want to do after edit the cell.
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xbrowse edit column
Posted: Wed Aug 08, 2018 01:41 PM
Code (fw): Select all Collapse
oCol:bOnChange := { |oCol, uOldValue| yourfunction( oCol, uOldValue ) }
Regards



G. N. Rao.

Hyderabad, India
Posts: 253
Joined: Wed May 25, 2016 01:04 AM
Re: xbrowse edit column
Posted: Thu Aug 09, 2018 07:34 PM
nageswaragunupudi wrote:
Code (fw): Select all Collapse
oCol:bOnChange := { |oCol, uOldValue| yourfunction( oCol, uOldValue ) }


Thank you! Works great!

Continue the discussion