xbrowse edit column

xbrowse edit column

Postby wartiaga » Wed Aug 08, 2018 3: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.
wartiaga
 
Posts: 204
Joined: Wed May 25, 2016 1:04 am

Re: xbrowse edit column

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse edit column

Postby wartiaga » Wed Aug 08, 2018 1: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.
wartiaga
 
Posts: 204
Joined: Wed May 25, 2016 1:04 am

Re: xbrowse edit column

Postby nageswaragunupudi » Wed Aug 08, 2018 1:41 pm

Code: Select all  Expand view
oCol:bOnChange := { |oCol, uOldValue| yourfunction( oCol, uOldValue ) }
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse edit column

Postby wartiaga » Thu Aug 09, 2018 7:34 pm

nageswaragunupudi wrote:
Code: Select all  Expand view
oCol:bOnChange := { |oCol, uOldValue| yourfunction( oCol, uOldValue ) }


Thank you! Works great!
wartiaga
 
Posts: 204
Joined: Wed May 25, 2016 1:04 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], Jimmy and 62 guests