Page 1 of 1

Bug in 5.0 comboBox or just a change??

Posted: Fri Aug 07, 2009 11:43 am
by ConvertFromOldNGs
by James Plank >> Wed, 11 Aug 1999 2:29:04 GMT

This used to work in version 4, now it creates problems.

var
st:StringArray;begin


create st transient;
st.add("Basic");
st.add("Test")
cmbo.listCollection(st,false,0);



// in Jade 4 this would work
this would fill the combo with text
then when you selected the box it would return...
s:= cmboFormType.text;
// so the following would be true
if s="Basic" then
...//.........etc..
endif;



NOW in jade 5.011


s:= cmboFormType.text;
s returns ""Basic"" double sets of quote marks????????????

cant use listCollection any more

have to use additem

Is this a BUG?
or is their a new way to use listCollection ?

Regards James




--
James Plank
Icon Communications NZ