Hi Lyndel,
Thanks for reply. I was hoping a reply from you or Barry. :)
Unfortunately the method you hinted doesn't write the new value to the x.label
I also tried the following variants my debug feedback being
System.print("counter++="+counter +"\n xlabel="+ x.label);
x.label = valueOf(++counter).toString(10);
----
x.label = valueOf(++counter)
------
++counter;
x.label = valueOf(counter);
-------
++counter;
x.label = valueOf(counter).toString(10);
---------
all of these including your method returns:
counter++= 1
x.label= 0
If I manually modify the widget's label say 3
it then returns
counter++= 4
x.label=3
This is worrying for me as I know that you guys are very knowledgeable and you really know your stuff. Honestly I see no reason why this doesn't work.
Any other ideas?
Last edited by sgtoma
on December 15, 2007 07:29.