Hi,
When selecting an xbrowse row and clicking a button how can I put certain column of this row in edit mode? Position the cursor automatically in this column to be able to edit.
Thanks in advance.
Hi,
When selecting an xbrowse row and clicking a button how can I put certain column of this row in edit mode? Position the cursor automatically in this column to be able to edit.
Thanks in advance.
oCol:nEditType := EDIT_GETnageswaragunupudi wrote:Set
oCol:nEditType := EDIT_GET
All the cells with this edittype can be edited inline.
oBrw:lFastEdit := .t.nageswaragunupudi wrote:If you set
oBrw:lFastEdit := .t.
Then the cell is ready for edit and if the user presses any key, the edit will start with that key.
WITH OBJECT oCol
:nEditType := EDIT_GET_BUTTON
:bEditBlock := { |r,c,o| o:oBrw:PostMsg( WM_CHAR, 13 ), nil }
END