Range Slider Control

Range Slider Control

Postby Silvio.Falconi » Tue Jun 14, 2016 6:23 pm

How create this ?

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: 6772
Joined: Thu Oct 18, 2012 7:17 pm

Re: Range Slider Control

Postby AntoninoP » Thu Jun 23, 2016 7:33 am

Hi,
In Win32 there is the trackBar control
It is in fiveWin called TTrackBall look at trbar example
Regards,
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Range Slider Control

Postby Silvio.Falconi » Thu Jun 23, 2016 4:20 pm

Antonino,
this class not have two bar but only one and I cannot build an interval
type from to as the control winword have
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: 6772
Joined: Thu Oct 18, 2012 7:17 pm

Re: Range Slider Control

Postby AntoninoP » Fri Jun 24, 2016 7:19 am

I am not trying, if you create it with lSelRange true it allow to select a range.
the getRange is missing ... it should be something like:
Code: Select all  Expand view
#define TBM_GETRANGEMIN         (WM_USER+1)
#define TBM_GETRANGEMAX         (WM_USER+2)

Code: Select all  Expand view
METHOD GetRangeMin() INLINE ::nMin := ::SendMsg( TBM_GETRANGEMIN, 0, 0 )
METHOD GetRangeMax() INLINE ::nMax := ::SendMsg( TBM_GETRANGEMAX, 0, 0 )

but i don't try it.
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Range Slider Control

Postby Silvio.Falconi » Fri Jun 24, 2016 8:42 am

Antonino,
I need it for create tab paragraph on Richedit
I create a small pad ( FivePad)

Image

I insert tregla class to simulate the ruler but it not have the track to set paragraph
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: 6772
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 97 guests