i create DCBrowses for arrays in a loop. How can i access an element (ELEMENT 6) of the browse for getting the number for the color in the DCBrowsecol ?
Code: Select all
for i:=1 to lastbrw
   cBrw:="oBrw"+strzero(i,3)
   spa:=(i-1-x)*22.5
   @zl,spa DCBROWSE &cBrw ;
     DATA aKfz[i][5] ;
     POINTER nPointer ;
     HEADLINES 2 ;
     SIZE 21,14.5 ;
     FONT "10.Arial Fett" ;
     PRESENTATION aPP ;
     TABSTOP ;
     NOHORIZSCROLL ;
     TAGENABLE ;
     TAGELEMENT 3 ;
     TAGCOLOR GRA_CLR_YELLOW, GRA_CLR_DARKGRAY ;
     TAGMODE DCGUI_TAGMODE_CLEAR
      DCBROWSECOL ELEMENT 1 ;
            HEADER aKfz[i][2]+";"+aKfz[i][3] ;
            WIDTH 15 ;
            CARGO i ;
            FONT "9.Arial" ;
            DRAG {|o| aDragData:=GetDragData(o)} DIALOG {|mp1,mp2,oXbp| Drag2Auftrag(mp1,mp2,oXbp,aDragData)} ;
            DROP {|o,a,mp1,mp2,nOffset| DropAuftrag(o,a,mp1,mp2,nOffset), dc_getrefresh(Getlist), _SetFocus(o:Cargo[3], lastbrw) } ;
            PARENT &cBrw ;
            COLOR {||     ??????????   <--- here i want to set the color, which is element 6 in the array aKfz[i, 5, nP]

