Page 1 of 1

Scrollbar size

Posted: Tue May 22, 2018 6:48 pm
by Silvio.Falconi
can I change the size of width of a scrollbar ?
It can be usefull for a tablet application where the final user can scroll easy the information with his finger

I wisth a scrollbar as this ( I mean the scrollbar of the window )

Image

Re: Scrollbar size

Posted: Tue May 22, 2018 9:13 pm
by nageswaragunupudi
You have already done it.

Re: Scrollbar size

Posted: Wed May 23, 2018 12:19 am
by FranciscoA
Silvio.
Take a look at this.
Mira si esto te ayuda.
viewtopic.php?f=6&t=30801&hilit=nonclient&sid=be006d772300c0130b3064cce7303cee#p177344
Regards.
saludos.

Re: Scrollbar size

Posted: Wed May 23, 2018 1:47 am
by cnavarro
Silvio, I think you have all my functions of previous link in yours libs of Fivewin

Re: Scrollbar size

Posted: Wed May 23, 2018 2:39 am
by nageswaragunupudi
Fivewin function from FWH 16.06

Code: Select all | Expand

SETNONCLIENT( 2, <nScrollBarWidthPixels> )

Re: Scrollbar size

Posted: Wed May 23, 2018 7:23 am
by Silvio.Falconi
the problem is

when I set this comand I have all big also all the other application not mine

for a sample now I open winword and I have this :

Image

How I can to put as it was before ?

Re: Scrollbar size

Posted: Wed May 23, 2018 7:35 am
by Silvio.Falconi
Now I close the tablet and I run the test with

nvalue:=NONCLIENTGET()

xbrowser nvalue

and I have these values 17,17,22,19

Now I must use a command to set the size 40 and then re insert the old sizes ...right ?

before
Local avalueScroll:=NONCLIENTGET()
SETNONCLIENT( 2, 40 ) // new size

at the end
SETNONCLIENT( 2,avalueScroll )

it is right ?

Re: Scrollbar size

Posted: Wed May 23, 2018 8:23 am
by nageswaragunupudi
Yes, it is a systemwide setting.