How to change combobox var and aitems ?

Post Reply
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

How to change combobox var and aitems ?

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Shumming,

Try this:

oComboBox:bSetGet = bSETGET( xNewVar )
oComboBox:SetItems( aNewItems )
regards, saludos

Antonio Linares
www.fivetechsoft.com
ShumingWang
Posts: 454
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Post by ShumingWang »

Antonio,
Thank you !
Shuming Wang
Post Reply