Page 1 of 1

How to change combobox var and aitems ?

Posted: Tue Dec 25, 2007 9:38 am
by ShumingWang
Hi,
As I want change a combobox to do a search, according the current xbrowse columns clicked , a column 's data type might be c,n,d. that is change the combobox aitems and it's type dynamicly .

Thanks !
Shuming Wang

Posted: Tue Dec 25, 2007 10:30 am
by Antonio Linares
Shumming,

Try this:

oComboBox:bSetGet = bSETGET( xNewVar )
oComboBox:SetItems( aNewItems )

Posted: Wed Dec 26, 2007 12:25 am
by ShumingWang
Antonio,
Thank you !
Shuming Wang