Albrecht Schlosser wrote:
> Greg Ercolano wrote:
>
>> I think you can hide() the scrollbars individually, eg.
>>
>> yourscroll->scrollbar()->hide(); // hide vert scroll
>> yourscroll->hscrollbar()->hide(); // hide horiz scroll
>>
>> ..then you can use the scrollbar's value()/position() methods to
>> control scroll settings from your own code.
>
> I'd guess that this doesn't work because the next draw() would hide or show
> the
> scrollbars again.
D'oh!
Yeah, I suppose I should have known that.
I'll surely forget again though; it seems so reasonable to think
that would work because the scrollbars are available via the API :/
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk