xBrowse & Edit Cell
Posted: Thu Sep 03, 2009 2:33 pm
Hi!
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 :
but it doesn't work...
How can I make it?
Thank's
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
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.
How can I make it?
Thank's