XBROWSE Question
Posted: Fri Apr 05, 2019 2:16 pm
I have this code and have the problem that the cursor in cells go to next cell even the function lg_stamm_such(…) returns .F. (lValid)! I will stay on this column if lValid == .F.
Code: Select all | Expand
/*2*/ADD COLUMN TO XBROWSE oList DATA aEin[oList:nArrayat,LG_ARR_POS_FELDER,LG_FELD_PERSON,LG_ARR_POS_SUCH] SIZE 200 ALIGN CENTER EDITABLE ON EDIT ;
{|a,x|lValid:=lg_stamm_such(clienttoscreen(oList:hWnd,{oList:aCellCoor( ,oList:mitarbeiter:nPos)[3]+2,oList:aCellCoor( ,oList:mitarbeiter:nPos)[2]}),x,@aPers,@aGer,@aKont,@aZu,1,oList:nArrayat)} HEADER "Mitarbeiter" ;
WHEN aEin[oList:nArrayat,LG_ARR_POS_MODUS] <> LG_ARR_GERAET .and. aEin[oList:nArrayat,LG_ARR_POS_MARK]