+1
Beantwoord

good_list total = 0 in constructor

Benno Evers 7 jaar geleden in Applications / i3 Pro bijgewerkt door Aleksandr Romanov (CTO) 7 jaar geleden 2

Hello 

When you inititally make the total of the items 0 (in constructor of the good_list) you cannot add any item any more. Is this a bug? Or am I completely missing something?

You are right, you can solve it this way

l_oGList1.Adapter.total += 1;
l_oGList1.Position = l_oGList1.Adapter.total+1; // go to the last position of list 
l_oGList1.Adapter=l_oGList1.Adapter; //wtf?!
l_oGList1.Update();

:)