Redefine Listview - Error.
Posted: Fri Jul 24, 2015 4:41 pm
Hi, dear friends.
I updated the FiveWin version 8.01 to 13.01 , and realized that the Redefine Listview is not working.
The Items are not loaded with InsertItem method .
I did a simple test ( created a new program only with the listview ) and still not worked.
However, if used NEW method instead of the REDEFINE , it works correctly.
Below is my test :
No runtime error occurs , the items just are not loaded in the ListView .
Someone with the same problem?
At.
Ana
I updated the FiveWin version 8.01 to 13.01 , and realized that the Redefine Listview is not working.
The Items are not loaded with InsertItem method .
I did a simple test ( created a new program only with the listview ) and still not worked.
However, if used NEW method instead of the REDEFINE , it works correctly.
Below is my test :
Code: Select all
DEFINE DIALOG oDlgTeste resource 1001
ACTIVATE DIALOG oDlgTeste ON INIT Inicia_Dialog()
return(.t.)
FUNCTION Inicia_dialog()
REDEFINE Listview oListTeste ID 4001 OF oDlgTeste
aTeste := {"1","2","3","5"}
AEVAL(aTeste,{|ItemList,x|oListTeste:InsertItem(x-1,ItemList)})
oListTeste:refresh()
return(.t.)
Someone with the same problem?
At.
Ana