Michel Schmid wrote:
> Hi!
>
> FLTK: 1.1.9
>
> I would like to have a Fl_Scroll area, but without the scrollbars. As a
> substitue for the scrollbars i would like to draw two buttons which stand for
> the up- and down-arrows and have the same functionallity. So they should
> trigger the same event...
>
> The goal is that I still have a scrollable area, but one who I can customize
> more to my GUI-Style.
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.
Possibly too, Albrecht's example of setting type(0), I didn't know
that one.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk