Home » Developing U++ » UppHub » AutoScroller package update
Re: AutoScroller package update [message #56465 is a reply to message #56330] |
Sat, 13 March 2021 23:08 |
Didier
Messages: 680 Registered: November 2008 Location: France
|
Contributor |
|
|
Hello Klugier,
I took 10 minutes to enhance .usc file.
Following code adds drawing of sidebars
Quote: Paint(w) {
r = GetRect();
sbWidth = 16;
sr = r;
sr.right = sr.right-sbWidth;
sr.bottom = sr.bottom-sbWidth;
vsb = sr;
vsb.left = sr.right;
vsb.right = r.right;
hsb = sr;
hsb.top = sr.bottom;
hsb.bottom = r.bottom;
PaintHScrollBar(w, hsb);
PaintVScrollBar(w, vsb);
DrawCtrlFrame(w, r, .SetFrame);
DrawBorder(w, r, :SGray, :SGray);
sr.right = sr.right-sbWidth; ___________ // normaly shoudn't need this, but still had to add it otherwise ClassName overlaps VScrollbar ???
DrawClassName(w, sr, "AutoScroller");
}
[Updated on: Sat, 13 March 2021 23:11] Report message to a moderator
|
|
|
|
|
AutoScroller package update
By: warchef on Fri, 16 October 2020 10:51
|
|
|
Re: AutoScroller package update
By: Klugier on Fri, 16 October 2020 11:04
|
|
|
Re: AutoScroller package update
By: warchef on Mon, 02 November 2020 11:42
|
|
|
Re: AutoScroller package update
By: Didier on Thu, 18 February 2021 18:41
|
|
|
Re: AutoScroller package update
By: Klugier on Sun, 21 February 2021 01:49
|
|
|
Re: AutoScroller package update
By: Oblivion on Sun, 21 February 2021 11:33
|
|
|
Re: AutoScroller package update
By: Didier on Sun, 21 February 2021 19:47
|
|
|
Re: AutoScroller package update
By: Klugier on Sun, 21 February 2021 21:08
|
|
|
Re: AutoScroller package update
By: Didier on Sat, 13 March 2021 23:08
|
|
|
Re: AutoScroller package update
By: Klugier on Mon, 15 March 2021 11:54
|
|
|
Re: AutoScroller package update
By: kohait00 on Wed, 13 April 2022 11:29
|
Goto Forum:
Current Time: Mon May 06 22:08:03 CEST 2024
Total time taken to generate the page: 0.02691 seconds
|