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|lg_stamm_such(x,@aPers,@aGer,@aKont,@aZu,1,oList:nArrayat)} HEADER "Mitarbeiter" ;...…
if !Empty( ::aRows )
uValue := CharRem( CRLF, ::cHeader )
AEval( ::aRows, { |o| If( Empty( o:cHeader ), o:cHeader := "COL-" + LTRIM( Str( o:nCreationOrder ) ), nil ) }, 2 )
AEval( ::aRows, { |o| If( o:lReadOnly, nil, uValue += "," + CharRem( CRLF, o:cHeader ) ) }, 2 )
oRec := TDataRow():New( ::oBrw, uValue, .f. ) //:Edit( nil, .f., StrTran( ::cHeader, CRLF, " " ) )
oRec:oFont := ::DataFont()
oRec:oAnchor := Self
return oRec:Edit( nil, .f., StrTran( ::cHeader, CRLF, " " ) )
endif
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 72 guests