ComboBox Refresh

Post Reply
Gilbert Vaillancourt

ComboBox Refresh

Post by Gilbert Vaillancourt »

Hi All,

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

Regards,


Gilbert
DanielPuente
Posts: 108
Joined: Sun Oct 09, 2005 6:12 pm
Location: Mar del Plata - Argentina
Contact:

Re: ComboBox Refresh

Post by DanielPuente »

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
User avatar
Ray Islas
Posts: 3
Joined: Fri Oct 07, 2005 4:36 pm
Location: Acapulco, Gro. MEXICO

Post by Ray Islas »

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.
Gilbert Vaillancourt

Thanks

Post by Gilbert Vaillancourt »

Hi,

Thanks Guys :D

Regards,

Gilbert

[/u]
Post Reply