How to force a Pmw ComboBox to update list

M

Marc

Hi all,

I have an application that uses a Pmw ComboBox to display a list that
is dynamic. The user has the ability to add and delete items from the
list at different points in the program.

However, once the list is updated it needs to automatically refresh
the ComboBox to reflect the updated list. The only way I have been
able to solve the problem so far is to redraw the window (by
withdrawing the window and calling the function that creates the
window again). I tried to do a 'configure' on the ComboBox, but
couldn't get it to work because the list itself was an initialization
even. However, I could have been doing that wrong.

Is there any way to force the ComboBox to update the list or redraw
itself with the new list?

Thanks ahead of time,
Marc
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,269
Messages
2,571,097
Members
48,773
Latest member
Kaybee

Latest Threads

Top