FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Scrollbar size
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Scrollbar size
Posted: Tue May 22, 2018 06: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 )

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Scrollbar size
Posted: Tue May 22, 2018 09:13 PM

You have already done it.

Regards



G. N. Rao.

Hyderabad, India
Posts: 2170
Joined: Fri Jul 18, 2008 01:24 AM
Re: Scrollbar size
Posted: Wed May 23, 2018 12:19 AM

Silvio.
Take a look at this.
Mira si esto te ayuda.

viewtopic.php?f=6t=30801hilit=nonclientsid=be006d772300c0130b3064cce7303cee#p177344
Regards.
saludos.

&&&

Francisco J. Alegría P.

Chinandega, Nicaragua.



Fwxh-MySql-TMySql
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Scrollbar size
Posted: Wed May 23, 2018 01:47 AM

Silvio, I think you have all my functions of previous link in yours libs of Fivewin

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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Scrollbar size
Posted: Wed May 23, 2018 02:39 AM
Fivewin function from FWH 16.06
Code (fw): Select all Collapse
SETNONCLIENT( 2, <nScrollBarWidthPixels> )
Regards



G. N. Rao.

Hyderabad, India
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Scrollbar size
Posted: Wed May 23, 2018 07: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 :



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
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
Re: Scrollbar size
Posted: Wed May 23, 2018 07: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 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
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Scrollbar size
Posted: Wed May 23, 2018 08:23 AM

Yes, it is a systemwide setting.

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion