FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to change combobox var and aitems ?
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
How to change combobox var and aitems ?
Posted: Tue Dec 25, 2007 09: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

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to change combobox var and aitems ?
Posted: Tue Dec 25, 2007 10:30 AM

Shumming,

Try this:

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 474
Joined: Sun Oct 30, 2005 06:37 AM
How to change combobox var and aitems ?
Posted: Wed Dec 26, 2007 12:25 AM

Antonio,
Thank you !
Shuming Wang

http://www.xtech2.top
Mobile:(86)13802729058
Email:100200651@qq.com
QQ:100200651
Weixin: qq100200651

Continue the discussion