ok it does work , now i just need to figure out how to stop the user to input text when it get to the bottom of the text editor
> Thanks for the fast reply > i need it because i need the user to input text only at given > text box size not beyond that > > > > > how can i disable the scrolling bars in the Text_Editor component > > > > I'm not sure that you can, but looking at the code it looks as if doing: > > > > edit->scrollbar_align(0); > > > > Might actually work... Worth a try, anyway. > > > > However: can I ask why you want to suppress them? The editor widget only > > displays the scrollbars if it thinks it needs them to access the text > > area (e.g. if the text is too much to fit on the display...) so if you > > disable them, then there will be no way to read that text... > > > > SELEX Sensors and Airborne Systems Limited > > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS= > > 14 3EL > > A company registered in England & Wales. Company no. 02426132 > > ******************************************************************** > > This email and any attachments are confidential to the intended > > recipient and may also be privileged. If you are not the intended > > recipient please delete it from your system and notify the sender. > > You should not copy it or use it for any purpose nor disclose or > > distribute its contents to any other person. > > ******************************************************************** > > > _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

