Search found 4 matches

by vizualweb
Fri Jul 20, 2012 3:41 am
Forum: Support
Topic: Best way to stop nested tables.
Replies: 3
Views: 10480

Thanks Sergey, The ConvertAllTablesToText worked a treat (I'm using C++ Builder XE, but just added the procedure to a .pas unit and used it from there. Also the OnPaste worked perfectly (just incase its useful for others). void __fastcall TMailEditor::LetterRichViewEditPaste(TCustomRichViewEdit ...
by vizualweb
Thu Jul 19, 2012 4:32 am
Forum: Support
Topic: Allow Protected text to have its style changed.
Replies: 1
Views: 7730

Worked it out...

I found that I did have the correct protection options setup, but I had the styles being loaded in from the TDBRichView and overwritting my changes to the Styles protection...

So all working now.
by vizualweb
Thu Jul 19, 2012 3:54 am
Forum: Support
Topic: Allow Protected text to have its style changed.
Replies: 1
Views: 7730

Allow Protected text to have its style changed.

Hi All, I'm using a protect text style to insert mail merge fields into a TRichViewEdit. The following code works perfectly... LetterRichViewEdit->CurTextStyleNo = 1; //TextStyle modify protected LetterRichViewEdit->InsertStringTag(myField, myField); Now using manual code to apply say BOLD ...
by vizualweb
Thu Jul 19, 2012 12:54 am
Forum: Support
Topic: Best way to stop nested tables.
Replies: 3
Views: 10480

Best way to stop nested tables.

Hi All, I'm trying to stop nested tables in my TDBRichViewEdit. Im using the following to test if a user is trying to INSERT a table while currently inside a table. if (LetterRichViewEdit->InplaceEditor == NULL) That works fine, but what about pasting? How can I stop a user pasting a table inside ...