> 
> But there is a dashed rectangle appear on button. Now i'm using version 8 
> (fltk-1.1.x-r5891). can we remove this dashed rectangle. It appear on every 
> control like check box, radio button etc.

As I earlier replied to this question, you can disable the visible focus 
for the button by setting yourObject->visible_focus(0);

In your case, try with:

Fl_Button* o = new Fl_Button(10, 30, 75, 25, "File");
o->box(FL_ROUND_UP_BOX);
o->down_box(FL_ROUND_UP_BOX);
o->visible_focus(0);
o->labelfont(9);

This should make the button not display the dashed rectangle (focus 
indicator).

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

Reply via email to