Friends, how to do this with 2 buttons + -
REGARDS
Friends, how to do this with 2 buttons + -
REGARDS
hello
please search Rao's sample test
from 18.04:
Â
WITH OBJECT oBrowse:aCols[ 4]
     :nWidth     := 100
     :nDataStrAlign := AL_CENTER
     :AddBitmap( { FW_BmpPlus(), FW_BmpMinus() } )
     // Right Button
     :nEditType   := EDIT_BUTTON
     :bEditBlock   := { |r,c,oCol|IIF(!oBrowse:nArrayAt = 1, oCol:Value + 1,) }
     :nBtnBmp    := 1
     :lBtnTransparent  := .t.
     // Left Button
      :bBmpData    := { |v,lSel| If( lSel, 2, 0 ) }
      :bBmpAction   := { |oCol|  IIF(!oBrowse:nArrayAt = 1,IIF( oCol:Value>0,oCol:VarPut( oCol:Value - 1 ),),) }
      :bOnChange := bCalcRow
      :lBmpTransparent := .T.
    END