Hello,
I have a xBrowse-matrix can be added from keyboard.
What is the best solution for a linebreak on any position to the next row to col 5 ?
reaching day 31, I defined a linebreak to the next row
that works fine.
I still need a line-break on any col-position using a key like < space > or < esc >
( only keyboard-usage )
I tested / added on a cell :
to the nKey-define => If( nKey == VK_RETURN, ;
...
...
If( nKey == VK_SPACE, ( oBrw2:GoDown( 1 ), oBrw2:SelectCol(5) ),), ;
but didn*t work
Day 31
oCol:nEditType := EDIT_GET
oCol:bOnPostEdit := { | oCol, xVal, nKey | If( nKey == VK_RETURN, ;
( PREIS_SAVE(xVal, 31, "T31",cMonat), ; // val, position, fieldname, dbf / alias
oBrw2:RefreshCurrent(), ;
oBrw2:GoDown( 1 ), ;
oBrw2:SelectCol(5) ),) }
best regards
Uwe