Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGUI v2, RichEdit's, Bold, Italic, Underline - Copying to a string

Author
Message
Narf The Mouse
19
Years of Service
User Offline
Joined: 16th Jul 2004
Location:
Posted: 11th Oct 2005 01:28
Any way to save bold, italic and underlined text from a richedit into a string?

It's kinda critical to the further development of a program I'm working on.

Cheese!

Expert Bug-Finder, Horrible at Identifying Them.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 12th Oct 2005 18:50
You need to save in RTF format. An RTF edit box has a save event you can trigger, but I don't know if it's implemented in Blue GUI.

You can't save it in a DB string, they are simply unicode. Rich Text has hidden style directives, rather like XML.

Narf The Mouse
19
Years of Service
User Offline
Joined: 16th Jul 2004
Location:
Posted: 12th Oct 2005 23:05
Ok, thanks. I'll ask about that.

Cheese!

Expert Bug-Finder, Horrible at Identifying Them.
AndLabs
19
Years of Service
User Offline
Joined: 7th Dec 2004
Location:
Posted: 3rd Nov 2005 21:16
Actually, you can store the entire contents of the RTF file as a string if you want, if you have the memory. RTFs are long in length as a string. You just read the entire file as a whole from the RTF and store that into a string variable.

For the Software You Want, AMPERSAND LABORATORIES is the place!

Login to post a reply

Server time is: 2024-05-06 17:26:28
Your offset time is: 2024-05-06 17:26:28