> I am going to use Fl_Browser with non-standard scrollbar (my own draw() > function). When I disable standard Fl_Browser scrollbar by > has_scrollbar(0), > calling topline(i) does not scroll browser content. > > Is there a way to completely hide standard scrollbar, and control > browser > from outside?
Hmm, that is an odd one - you are right, that doesn't work... The browser does not get redrawn if has_scrollbar() is set to zero. Though, clicking on the browser items, it would appear that "internally" the browser thinks the list *has* been scrolled, and returns the line item that *would* be at the clicked position, if the scroll had happened... If I set the scrollbar width to 1 and set has_scrollbar() non-zero then it does work (though a very tiny scroll bar is visible of course...) Bit of an odd one then... Anyone know what is going on here...? Selex ES Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 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

