ComboBox Refresh

ComboBox Refresh

Postby Gilbert Vaillancourt » 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
Gilbert Vaillancourt
 

Re: ComboBox Refresh

Postby DanielPuente » Wed Oct 12, 2005 1: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
DanielPuente
 
Posts: 108
Joined: Sun Oct 09, 2005 6:12 pm
Location: Mar del Plata - Argentina

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

Thanks

Postby Gilbert Vaillancourt » Wed Oct 12, 2005 3:04 am

Hi,

Thanks Guys :D

Regards,

Gilbert

[/u]
Gilbert Vaillancourt
 


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 17 guests