It's necessary for me, that cell editing in some xBrowse cells started with the end of value of a cell.
(User input the address. He selects street from the another browse, then the pointer in a cell has to go on the end of streets name, and then the user input house and apartment numbers)
I tried :
- Code: Select all Expand view
oBrw:aCols[ 6 ]:bEditWhen:={|uVal,self,nkey|(SelectStreet(@uVal,@nkey),oBrw:aCols[ 6 ]:Edit(VK_END),.F.)}
Function SelectStreet(uVal,nkey)
...
uVal:=oemtoansi(ALLTRIM(street->NAMES))+space(30)
return .t.
but it doesn't work...
How can I make it?
Thank's