checkbox in browse
Posted: Thu Mar 06, 2014 11:52 pm
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 ?
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 ?