|
|
> I have an Fl_Output widget that is displaying an "insertion
> caret" (i.e. a ^ only lower). I have seen behavior where it
> will move if you click a different spot, or you will get 2,
> or 3 etc. if you click a different spot. In any case, I
> would like to get rid of it since the field is for output
> only. Is this possible? Thanks
widget->clear_visible_focus();
However, you should never get more than 1 in a widget, unless something has gone awry with the redrawing... If you can reliably reproduce instances of more than one caret in a widget, in a small sample of code, I guess you could post here for consideration - perhaps a STR might be in order...?
[ Direct Link to Message ] | |
|
| |