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_GET
nageswaragunupudi wrote:Set
- Code: Select all Expand view
oCol:nEditType := EDIT_GET
All the cells with this edittype can be edited inline.
oBrw:lFastEdit := .t.
nageswaragunupudi wrote:If you set
- Code: Select all Expand view
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
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot], Silvio.Falconi and 53 guests