FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper ComboBox Refresh
Posts: 155
Joined: Tue Dec 30, 2008 03:07 AM
ComboBox Refresh
Posted: Tue Oct 11, 2005 10:19 PM

Hi All,

How can I refresh the display and list of a combobox once it`s content has changed ? :?

Regards,

Gilbert

Posts: 108
Joined: Sun Oct 09, 2005 06:12 PM
Re: ComboBox Refresh
Posted: Wed Oct 12, 2005 01:40 AM
Gilbert:

oCombo:SetItems(aItems)
oCombo:Refresh()

If necessary:

oCombo:Reset()


Regards,

Gilbert Vaillancourt wrote:Hi All,

How can I refresh the display and list of a combobox once it`s content has changed ? :-)

Regards,


Gilbert
Daniel Puente
Mar del Plata, Argentina
danielpuente@speedy.com.ar
puenteda@hotmail.com
Posts: 3
Joined: Fri Oct 07, 2005 04:36 PM
ComboBox Refresh
Posted: Wed Oct 12, 2005 01:41 AM

Hi

Sorry for my english ;)

REDEFINE COMBOBOX oCmbX VAR cVarX ID 119 OF oFold:aDialogs[1] ITEMS aDtsX

In a new array you put the new values, then write this :

oCmbX:SetItems( aNewArr )
oCmbX:Refresh()

and that's it !!!

It works for me.

Posts: 155
Joined: Tue Dec 30, 2008 03:07 AM
Thanks
Posted: Wed Oct 12, 2005 03:04 AM

Hi,

Thanks Guys :D

Regards,

Gilbert

[/u]

Continue the discussion