AddHRuler()

AddHRuler()

Postby Silvio.Falconi » 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 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: 7042
Joined: Thu Oct 18, 2012 7:17 pm

Re: AddHRuler()

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42073
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: AddHRuler()

Postby Silvio.Falconi » Sat Apr 23, 2016 9: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 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: 7042
Joined: Thu Oct 18, 2012 7:17 pm

Re: AddHRuler()

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42073
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: AddHRuler()

Postby Silvio.Falconi » 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 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: 7042
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: RSalazarU and 52 guests