How to change combobox var and aitems ?

How to change combobox var and aitems ?

Postby ShumingWang » Tue Dec 25, 2007 9:38 am

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
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China

Postby Antonio Linares » Tue Dec 25, 2007 10:30 am

Shumming,

Try this:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby ShumingWang » Wed Dec 26, 2007 12:25 am

Antonio,
Thank you !
Shuming Wang
ShumingWang
 
Posts: 465
Joined: Sun Oct 30, 2005 6:37 am
Location: Guangzhou(Canton),China


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], wilsongamboa and 34 guests