Search found 14 matches

by johnF
Mon Mar 30, 2015 3:48 pm
Forum: Support
Topic: DeleteItems and Undo
Replies: 1
Views: 9887

DeleteItems and Undo

Hi,

Is it possible to undo/redo DeleteItems? I have tried the code below but got errors when clicking Undo.

Code: Select all

BeginUndoGroup(rvutDelete); 
SetUndoGroupMode(True); 
try 
  DeleteItems(5, 5);
finally 
  SetUndoGroupMode(False); 
end;
Cheers, Jim.
by johnF
Fri Mar 27, 2015 5:11 pm
Forum: Support
Topic: Getting RVAddictSpell3 live autocorrect to work
Replies: 1
Views: 10038

Getting RVAddictSpell3 live autocorrect to work

Hi, In "actiontestaddict" demo, I can set "jimr" to autocorrect to "JimR" as I type. However I am struggling to get that to happen in my own project. I don't see any attach option for this post, but if you can let me know what needs changed after adding a TRichViewEdit and TRVAddictSpell3 to a new ...
by johnF
Tue Mar 10, 2015 3:33 pm
Forum: Support
Topic: RVAddictSpell3 don't wavy line protected text
Replies: 2
Views: 11906

Perfect, Thanks.
by johnF
Tue Mar 10, 2015 12:48 pm
Forum: Support
Topic: RVAddictSpell3 don't wavy line protected text
Replies: 2
Views: 11906

RVAddictSpell3 don't wavy line protected text

Hi,

Is there a way to prevent the RVAddictSpell3 component from putting the wavy lines under protected text (rvprModifyProtect)?

Cheers, Jim.
by johnF
Fri Mar 06, 2015 11:27 am
Forum: Support
Topic: Save/Load custom item types
Replies: 1
Views: 10194

Save/Load custom item types

Hi, I'm using SaveRVFToStream and InsertRVFFromStream to insert the contents of a RichView into a RichViewEdit. However my custom item type (TRVLabelItemInfo descendent) vanishes. I've also tried SaveRVF and LoadRVF and it vanishes. What do I have to do so that it my TRVLabelItemInfo descendent ...
by johnF
Tue Mar 03, 2015 2:43 pm
Forum: Support
Topic: Prevent checkpoint being deleted
Replies: 1
Views: 9993

Prevent checkpoint being deleted

Hi, I am trying to use Checkpoints to define Salutation, Body and Signature areas for emails. Salutation & Signature areas are read-only/protected, but the Body should be editable - except that the paragraph & checkpoint has to remain. I've tried rvprDeleteProtect but that always leaves a character ...
by johnF
Tue Feb 17, 2015 1:02 pm
Forum: Support
Topic: Can we restrict the length of a Rich View
Replies: 2
Views: 13309

Hi, could this feature be implemented?

Would be good to have for apps writing twitter messages, amongst others.
by johnF
Wed Feb 11, 2015 12:53 pm
Forum: Support
Topic: Save/Load fields in HTML
Replies: 2
Views: 12315

Never mind, I found RVData.AddItem :lol:
by johnF
Wed Feb 11, 2015 12:47 pm
Forum: Support
Topic: Save/Load fields in HTML
Replies: 2
Views: 12315

I've discovered RichViewEdit.InsertItem and TRVLabelItemInfo for fields. However I can't use RichViewEdit.InsertItem in TRVHTMLViewImporter as it only has TCustomRVData.

How do I add TRVLabelItemInfo using TCustomRVData ?
by johnF
Tue Feb 10, 2015 2:44 pm
Forum: Support
Topic: Save/Load fields in HTML
Replies: 2
Views: 12315

Save/Load fields in HTML

Is there a way/option for Fields to save/load from HTML? If not, could this be implemented? Perhaps by using the id attribute? eg. rve.CurTextStyleNo := 6; // Field style rve.InsertStringTag('Jim', 'forename'); // Field would save to HTML as <span class=rvts6 id=forename>Jim</span> and any spans ...
by johnF
Mon Feb 09, 2015 12:07 pm
Forum: Support
Topic: procedure Change; "Cannot override non-virtual method&q
Replies: 1
Views: 9988

procedure Change; "Cannot override non-virtual method&q

It would be good if TRichViewEdit.Change was override-able like TMemo.Change.
by johnF
Mon Feb 09, 2015 9:45 am
Forum: Support
Topic: Read Only style not Read Only after reopening
Replies: 4
Views: 35570

Alternatively, would it be possible for TRichView to use prefixes (CSS Extensions) the same way Mozilla & Webkit do?

-moz-
-webkit-
-trichview-

https://developer.mozilla.org/en-US/doc ... Extensions

This way TRichView could save any of its features in HTML/CSS.
by johnF
Wed Feb 04, 2015 11:57 am
Forum: Support
Topic: Read Only style not Read Only after reopening
Replies: 4
Views: 35570

When choosing an existing style for using for given formatting loaded from HTML, the component ignores Protection property. If two text styles have identical visual attributes, the style with a lesser index will be used. That is what I was expecting/hoping. Instead, it is creating a new style. span ...
by johnF
Tue Feb 03, 2015 4:50 pm
Forum: Support
Topic: Read Only style not Read Only after reopening
Replies: 4
Views: 35570

Read Only style not Read Only after reopening

Hi, I've made a couple modifications to RVEditDemo: 1. Added a Text Style with ModifyProtect & DeleteProtect = true and colour = MoneyGreen 2. Added a Paragraph Style with Read Only = true and BackgroundColour = MoneyGreen 3. Added opening HTML files using RvHtmlViewImporter But it doesn't work as I ...