This is actually intended for cases where the first n fields would not be modified. Anyway please try to change oBrw:oTreeItem:cPrompt also when you modify 3rd field.
... "GRAND TOTAL" ocol:nEditType := {||if(::ledit,1,0)} ocol:bEditValue := {||odb2:cquery:="select * from ac where acid='"+obrow2:oTreeItem:cPrompt+"'",odb2:refresh(),obrow2:oTreeItem:cPrompt} // on chang ,to refresh other columns datas oCol:bOnPostEdit := {|o, v, n|if( ...
... event. If 2nd param (nSecs) is specified, the message is diaplayed for the specified duration and closed. - Enhancement: Tree Browse: In case a oTreeItem has DATA bAction, double-click evaluates bAction with oTreeItem and oCol as parameters - Symbol bitmaps are shown in text color. - Col:bPopup ...
Mr. Rao. Thank you very much for your response and detailed explanation. :bOnPostEdit := { |o,x,k| If( k == VK_ESCAPE, nil, ( ::oBrw:oTreeItem:Cargo[ _PAID ]:= x , ::ReCalculate() ) ) } Notice the error occurs when clicking on the square box of the leaf cell -**Esc key is not being explicitly ...
:bOnPostEdit := { |o,x| ::oBrw:oTreeItem:Cargo[ _PAID ]:= x , ::ReCalculate() } may please be replaced with the standard construct: :bOnPostEdit := { |o,x,k| If( k == VK_ESCAPE, nil, ( ::oBrw:oTreeItem:Cargo[ ...
... perfectly. If I compile with fwh 2014 it breaks. Notice the problem happens when you try to assign a value to a leaf cell on the tree, as in: oBrw:oTreeItem:Cargo[ 2 ] := 0.00. Please test and please help! Thank you. #include "fivewin.ch"#DEFINE _KEY 1 #DEFINE _PAID 1#DEFINE _EXPECTED ...