FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Range Slider Control
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Range Slider Control
Posted: Tue Jun 14, 2016 06:23 PM
How create this ?

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: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: Range Slider Control
Posted: Thu Jun 23, 2016 07:33 AM
Hi,
In Win32 there is the trackBar control
It is in fiveWin called TTrackBall look at trbar example
Regards,
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Range Slider Control
Posted: Thu Jun 23, 2016 04: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 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: 375
Joined: Tue Feb 10, 2015 09:48 AM
Re: Range Slider Control
Posted: Fri Jun 24, 2016 07: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 (fw): Select all Collapse
#define TBM_GETRANGEMIN         (WM_USER+1)
#define TBM_GETRANGEMAX         (WM_USER+2)

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

but i don't try it.
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Range Slider Control
Posted: Fri Jun 24, 2016 08:42 AM
Antonino,
I need it for create tab paragraph on Richedit
I create a small pad ( FivePad)



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 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

Continue the discussion