FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour AddHRuler()
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
AddHRuler()
Posted: Fri Apr 22, 2016 11:26 AM

is it possible ad a ruler also on richedit class ?

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: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AddHRuler()
Posted: Sat Apr 23, 2016 12:01 AM
Silvio,

It seems as Windows does not provide a ruler for the standard RichEdit control

Here there is an example to implement one:
http://www.codeproject.com/Articles/22783/Advanced-Text-Editor-with-Ruler
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: AddHRuler()
Posted: Sat Apr 23, 2016 09:59 AM

Antonio,
I saw your richedit box at fw for apple ...
from source of codeproject you not Know how make it on richedit ?
or perhaps modifing the tregla class

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: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AddHRuler()
Posted: Sun Apr 24, 2016 10:34 AM

Silvio,

You can place a bitmap over the richedit control with the ruler painted

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: AddHRuler()
Posted: Wed Apr 27, 2016 11:45 AM

I thinked we can use the slider control used to mage choosegradient function but only U can create it because I not see choosegradient source

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