FLTK logo

RE: [fltk.general] Insertion caret

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

RE: Insertion caret "MacArthur, Ian \(SELEX\) \(UK\)" May 01, 2006  
 
> 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 ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.