Bug in RichEditBox : backgroundcolor
Moderator: Rathinagiri
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Bug in RichEditBox : backgroundcolor
Hello,
It looks like saving a text from richeditbox doesn't save the choosen backgroundcolor.
Greetings, Serge
It looks like saving a text from richeditbox doesn't save the choosen backgroundcolor.
Greetings, Serge
There's nothing you can do that can't be done...
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: Bug in RichEditBox : backgroundcolor
You can upload a demo?
thanks
thanks
- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Bug in RichEditBox : backgroundcolor
Sure, but you can see it in: HMG.3.3.0\SAMPLES\Controls\RichEditBox\demo.prg
Greetings, Serge
Greetings, Serge
There's nothing you can do that can't be done...
-
- Posts: 684
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Bug in RichEditBox : backgroundcolor
Hi Serge:
I've test RichEdit, and i think there is no bugg.-
I supose that Backgroundcolor is only for screen display not for print output.-
I check BackColor Font and Font Color and both works fine.-
I attach the test.-
I've test RichEdit, and i think there is no bugg.-
I supose that Backgroundcolor is only for screen display not for print output.-
I check BackColor Font and Font Color and both works fine.-
I attach the test.-
-
- Posts: 684
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Bug in RichEditBox : backgroundcolor
I don't understand why file was not attached.-
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Bug in RichEditBox : backgroundcolor
Hola EduardoEduardoLuis wrote:I don't understand why file was not attached.-
- Change BG color in .rtf file.
- Save ( with different name if necessary )
- Open saved file
You will see BG color unchanged

I guess serge said this.
Saludos
Viva INTERNATIONAL HMG 

- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Bug in RichEditBox : backgroundcolor
Probably an error was displayed saying this kind of file was not allow to attach. Please compact if in zip or rar file and make sure to attach file again.EduardoLuis wrote:I don't understand why file was not attached.-
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Bug in RichEditBox : backgroundcolor
I'm afraid that I has been confused two thing : Control ( R. Edit box ) Back Color and Font Back Color.esgici wrote:...
You will see BG color unchanged
...
Control BG not saved and font BG always saved successfully.
As far as I see Control BG not supported other standrad RTF editor WordPad.
Viva INTERNATIONAL HMG 

- serge_girard
- Posts: 3309
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Bug in RichEditBox : backgroundcolor
Esgici,
You are right: these are two different things.
I was thinking that the backcolor (the yellow one) could be saved within the RTF format. This backcolor is only the backcolor of the Richeditbox.
Only the FontBackColor is RTF and this is saved correctly!
So, everything is OK!
Greetings, Serge
You are right: these are two different things.
I was thinking that the backcolor (the yellow one) could be saved within the RTF format. This backcolor is only the backcolor of the Richeditbox.
Only the FontBackColor is RTF and this is saved correctly!
So, everything is OK!
Greetings, Serge
There's nothing you can do that can't be done...
-
- Posts: 684
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: Bug in RichEditBox : backgroundcolor
Thanks Pablo Cesar, i forget upload files must be zip or rar.-