Search found 6 matches

by mcperes
Fri Feb 21, 2020 8:57 pm
Forum: ScaleRichView
Topic: "Canvas does not allow drawing" document with SRVControls
Replies: 4
Views: 55907

Re: "Canvas does not allow drawing" document with SRVControls

try editor1.srv.RVHeader.Canvas.lock; cabec:=TJpegImage.create; cabec.loadfromfile(vCaminhoImagens+'\logo.'+formatzero(5,strtoint(gCodigoClinica))+'.jpg'); editor1.srv.RVHeader.clear; editor1.srv.RVHeader.InsertPicture('cabec', cabec, rvvaLeft); editor1.srv.RVHeader.Visible:=true; editor1.srv ...
by mcperes
Fri Feb 21, 2020 6:41 pm
Forum: ScaleRichView
Topic: "Canvas does not allow drawing" document with SRVControls
Replies: 4
Views: 55907

"Canvas does not allow drawing" document with SRVControls

After inserting jpg in RVHeader, from a document with SRV Controls I got an error "canvas does not allow drawing".........
by mcperes
Fri Feb 21, 2020 6:38 pm
Forum: ScaleRichView
Topic: Find and Replace in documents with SRVControls
Replies: 3
Views: 52124

Find and Replace in documents with SRVControls

if not editor1.srv.StartEditing(Editor) then exit; editor1.srv.CanUpdate := False; editor1.srv.ActiveEditor.SetSelectionBounds( 0, editor1.srv.ActiveEditor.GetOffsBeforeItem(0), 0, editor1.srv.ActiveEditor.GetOffsBeforeItem(0)); while (editor1.srv.ActiveEditor.SearchText(InSearch,[ RVEdit ...
by mcperes
Fri Jan 05, 2018 6:43 pm
Forum: Support
Topic: Inserttext into rich text
Replies: 3
Views: 14745

Re: Inserttext into rich text

right, but when I insert fields in this way I can not export to rtf and then reopen and have access to the ids of those fields?
by mcperes
Thu Jan 04, 2018 10:54 pm
Forum: Support
Topic: Inserttext into rich text
Replies: 3
Views: 14745

Inserttext into rich text

I want to insert items from a dbgrid into the text, I will use drag and drop, so far so good, I know how to do. The problem is that when using a data from a dbgrid I need to change the color of the line and in case the user deletes the dragged text, dbgrid needs to return the line to normal. I ...