> Gaz wrote: > > Hi all, > > > > My program allows files to be transfered to and from USB memory stick. I'm > > trying to change some text to "copying..." before the function is called. > > For some reason the text is changed only after the copy function (making it > > a bit useless)... > > > > Ive tried delays and redrawing the screen... which doesn't work! > > Any ideas?? > > > > Thanx > > Insert an Fl::check() just before the copy operation so that > FLTK gets a chance to redraw all the widgets. > > Just changing a label or color doesn't actually draw changes > on the screen until the FLTK event loop gets some cpu, and > calling Fl::check() will do this. > > http://www.fltk.org/doc-1.1/Fl.html#Fl.check
Thanx that works :):) _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

