Das Forentreffen 2018 findet am 20./21. April in Dresden statt. Weitere Infos hier
Zur Homepage des Deutschsprachige Xbase-Entwickler e. V.
Xbase++-Wiki des Deutschsprachige Xbase-Entwickler e. V.

DCGET aArray[1,1] [ERLEDIGT]

Moderator: Moderatoren

Antworten
Benutzeravatar
Koverhage
Der Entwickler von "Deep Thought"
Der Entwickler von "Deep Thought"
Beiträge: 1958
Registriert: Fr, 23. Dez 2005 8:00
Wohnort: Aalen
Kontaktdaten:

DCGET aArray[1,1] [ERLEDIGT]

Beitrag von Koverhage » Mi, 11. Mai 2016 16:38

Hallo,
keine Ahnung ob der Betreff so richtig ist, ich habe folgendes Problem.
Ich habe ein Array definiert

Code: Alles auswählen

Local aMive := {{0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, ;  //   1-10
                {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, ;  //  11-20
                {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, ;  //  21-30
                {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, ;  //  31-40
                {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, ;  //  41-50
                {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "}, {0," "} }   //  51-60
Innerhalb einer Schleife ist die folgende Eingabe, wobei aMive mit

Code: Alles auswählen

   getaMive(@aMive)
   DC_GetRefresh(aGetlist, nil, DCGETREFRESH_TYPE_EXCLUDE, {GETLIST_BROWSE})
aktualisiert wird- In aMive steht auch das richtige drin (was mir der Kontrollaufruf mit dc_arrayview bestätigt).

Code: Alles auswählen

@ 0,  0 DCTABPAGE oTabPage9 CAPTION mess1832 ;
        RELATIVE oTabPage8 ;
        TYPE XBPTABPAGE_TAB_BOTTOM ;
        HIDE {|| my_lfd = "000"  .or. my_lfd[1] = "*"} ;
        GOTFOCUS {|| dc_arrayview(aMive, NO, NO, YES, "TabPage9"), cNextFocus:='VE_I1', SetAppFocus(DC_GetObject(GetList,cNextFocus))}

        DCSETPARENT oTabPage9


@ 2,  1 DCSAY "200 VE-I1:"
@ 2, 11 DCGET aMive[1,1]  pict '@E 999999.999' NAME "VE_I1" ID 'VE_I1'
@ 2, 25 DCGET aMive[1,2]  pict '!' WHEN {|| istmw()} ;
        VALID {|| aMive[1,2] $ ' GTM'} MESSAGE MSG_AUFTTXT

Warum stehen die Werte beim DCGET dann nicht da. Kann mir jemand einen Denkanstoß geben ?
Gruß
Klaus

Antworten