DCGET aArray[1,1]
Posted: Wed May 11, 2016 11:08 pm
Hello,
i have a Array defined:
Inside a loop aMive is updated
aMive has the correct values (that show me the dc_arrayview in GOTFOCUS).
Why the values not shown in the DCGET ?
i have a Array defined:
Code: Select all
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
Inside a loop aMive is updated
Code: Select all
getaMive(@aMive)
DC_GetRefresh(aGetlist, nil, DCGETREFRESH_TYPE_EXCLUDE, {GETLIST_BROWSE})
Code: Select all
@ 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