- Code: Select all Expand view
cSay := SPACE(40)
@ 1,1 SAY ::oSay VAR cSay SIZE 100,20 PIXEL // Here will be shown the cell data
oBrw:bMMoved := {|nR,nC| ::ReadCell(nR, nC)} // Capture cursor movement
......
METHOD ReadCell(nR,nC)
nRow := ::oBrw:MouseRowPos(nR)
nCol := ::oBrw:MouseColPos(nC)
cData := ?????
::oSay:VarPut(STR(nRow)+STR(nCol) +": "+ cData)
RETURN NIL
Obviouslyly, my question is how to obtain cData, that is, the cell contens based on its row and col within the TxBrowse. Could anybody help?
Thanks
Rafael