Scrollbar size

Scrollbar size

Postby Silvio.Falconi » Tue May 22, 2018 6:48 pm

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 November 2023 - January 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: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: Scrollbar size

Postby nageswaragunupudi » Tue May 22, 2018 9:13 pm

You have already done it.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Scrollbar size

Postby FranciscoA » Wed May 23, 2018 12:19 am

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
FranciscoA
 
Posts: 2157
Joined: Fri Jul 18, 2008 1:24 am
Location: Chinandega, Nicaragua, C.A.

Re: Scrollbar size

Postby cnavarro » Wed May 23, 2018 1:47 am

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
cnavarro
 
Posts: 6522
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Scrollbar size

Postby nageswaragunupudi » Wed May 23, 2018 2:39 am

Fivewin function from FWH 16.06
Code: Select all  Expand view
SETNONCLIENT( 2, <nScrollBarWidthPixels> )
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Scrollbar size

Postby Silvio.Falconi » Wed May 23, 2018 7:23 am

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 November 2023 - January 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: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: Scrollbar size

Postby Silvio.Falconi » Wed May 23, 2018 7:35 am

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 November 2023 - January 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: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: Scrollbar size

Postby nageswaragunupudi » Wed May 23, 2018 8:23 am

Yes, it is a systemwide setting.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10468
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Jimmy and 70 guests