> Right after you call labelcolor(), call redraw_label().  Should
> do the trick.
>
> -Stan
>

Hi Stan,

Thank you for your response.  Unfortunately redraw_label() hasn't fixed the 
problem.  I have tried the following:

pWidget->redraw();

pWidget->redraw_label();

pWidget->redraw_label();
pWidget->hide();
pWidget->show();

pWidget->redraw_label();
pWidget->parent()->redraw();

pWidget->resize(pWidget->x(),pWidget->y(),pWidget->w(),pWidget->h());

None of these will cause the button label to be refreshed.  But all I have to 
do is drag another FLTK window over the button and then uncover it and the 
label color changes!

Can you suggest something else to try?

Thank you.
Al

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to