scrollbars

Questions about wxWidgets running on MS.NET, mono or Portable.NET ? Ask it here !
Post Reply
xml
Earned a small fee
Earned a small fee
Posts: 13
Joined: Fri Oct 22, 2004 1:21 pm

scrollbars

Post by xml » Fri Dec 31, 2004 1:14 am

hi,
how do i retrieve the maximum, minimum and current value of a scrollbar.

TIA

xenomorph
Earned a small fee
Earned a small fee
Posts: 18
Joined: Thu Sep 02, 2004 7:33 am
Location: Germany

Re: scrollbars

Post by xenomorph » Fri Dec 31, 2004 5:19 pm

xml wrote: how do i retrieve the maximum, minimum and current value of a scrollbar.
Scrollbar.Range, 0 (zero), Scrollbar.ThumbPosition

Greetings
Xenomorph 8)

xml
Earned a small fee
Earned a small fee
Posts: 13
Joined: Fri Oct 22, 2004 1:21 pm

Post by xml » Fri Dec 31, 2004 6:40 pm

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);

Post Reply