Scrollbar size

Post Reply
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Scrollbar size

Post 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
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: Scrollbar size

Post by nageswaragunupudi »

You have already done it.
Regards

G. N. Rao.
Hyderabad, India
User avatar
FranciscoA
Posts: 2164
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: Scrollbar size

Post 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.
Francisco J. Alegría P.
Chinandega, Nicaragua.

Fwxh-MySql-TMySql
User avatar
cnavarro
Posts: 6558
Joined: Wed Feb 15, 2012 8:25 pm
Location: España
Been thanked: 3 times

Re: Scrollbar size

Post by cnavarro »

Silvio, I think you have all my functions of previous link in yours libs of Fivewin
Last edited by cnavarro on Wed May 23, 2018 2:46 am, edited 1 time in total.
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: Scrollbar size

Post by nageswaragunupudi »

Fivewin function from FWH 16.06

Code: Select all | Expand

SETNONCLIENT( 2, <nScrollBarWidthPixels> )
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: Scrollbar size

Post 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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
Posts: 7164
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 2 times

Re: Scrollbar size

Post 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 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
nageswaragunupudi
Posts: 10729
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Been thanked: 10 times
Contact:

Re: Scrollbar size

Post by nageswaragunupudi »

Yes, it is a systemwide setting.
Regards

G. N. Rao.
Hyderabad, India
Post Reply