Page 1 of 1

scrollbars

Posted: Fri Dec 31, 2004 1:14 am
by xml
hi,
how do i retrieve the maximum, minimum and current value of a scrollbar.

TIA

Re: scrollbars

Posted: Fri Dec 31, 2004 5:19 pm
by xenomorph
xml wrote: how do i retrieve the maximum, minimum and current value of a scrollbar.
Scrollbar.Range, 0 (zero), Scrollbar.ThumbPosition

Greetings
Xenomorph 8)

Posted: Fri Dec 31, 2004 6:40 pm
by xml
range is readonly and there is a method that appears to change the range but i dont know what to put in the other arguments

public override void SetScrollbar(int position, int thumbSize, int range, int pageSize, bool refresh);