Francisco
You can use EDIT_GET on the cell you wish to activate and use the Pre and Post code blocks to fire off a user defined function to do anything you want.
In this example snipit from an invoicing browse .. I am editing the Stock Number cell and calling out a function InvtLook() to verify the part number against inventory... where v is the passed value of the user typed stock number.
Rick Lipkin
// part number
oLbxB:aCols[3]:bEditWhen := { || If(oRsDetail:fields("LockedDown"):Value = .f., .t.,.f.) }
oLbxB:aCols[3]:bOnPreEdit := { || If(oRsDetail:Fields("Inventory Id"):Value = " ", , __Keyboard( Chr( VK_HOME )) }
oLbxB:aCols[3]:bOnPostEdit := {|o,v| _InvtLook( v, oRsDetail, oRsRepair, "3", oLbxB, @lTaxable, oTaxable, cLoc,;
oLabor,oParts,oMisc,oTax,oTotal,nTaxNumber,nAssignedTo) }