Bug in 5.0 comboBox or just a change??

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Bug in 5.0 comboBox or just a change??

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:43 am

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

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 34 guests