On 11.08.2011, at 18:50, ahmad wrote: > can someone please tell me how to do you erase a line with a use of a button. > For example if I have drawn 5 lines but the fifth line is icorrect, I would > like to erase it.
Do you mean a line of text, or a graphical line? I assume you have not written any code yet to draw graphical the lines, right? You can "erase" lines by not drawing them at the next draw() event, or by drawing another line over them in the background color. More details from yur side would be helpful, maybe some sample code on how far you have gotten. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

