Hi,
i use this
DCBROWSECOL DATA {|x|x:=DC_GetColArray(OP_EINZUG,oBrowse), ;
IIF(x,BMP_CHECKED,BMP_UNCHECKED)} ;
PARENT oBrowse HEADER "Yes/No" WIDTH 1 ;
TYPE XBPCOL_TYPE_BITMAP ;
EVAL {|oB|oB:dataArea:lbClick := {|a,b,o|IIF(oBrowse:colPos=1, ;
(aLastschriften[nZaehler,OP_EINZUG]:=!aLastschriften[nZaehler,OP_EINZUG], ;
oBrowse:refreshCurrent()),nil)}}
But whta i must do, that it also selected/unselected with the space-bar ?
checkbox in browse
Re: checkbox in browse
Try this:
DCBROWSECOL .. OBJECT oBrowseCol1
DCHOTKEY xbeK_SPACE ACTION {||PostAppEvent(xbeM_LbClick,{0,0},,oBrowseCol1:dataArea)}
DCBROWSECOL .. OBJECT oBrowseCol1
DCHOTKEY xbeK_SPACE ACTION {||PostAppEvent(xbeM_LbClick,{0,0},,oBrowseCol1:dataArea)}
The eXpress train is coming - and it has more cars.