Search found 49 matches

by elGringo
Sat Aug 05, 2017 12:17 pm
Forum: Support
Topic: TSRichViewEdit doesn't save/load controls
Replies: 4
Views: 12703

Re: TSRichViewEdit doesn't save/load controls

And else... is it normal approach to have 3 fields for header, body and footer? Or it could be just one which is pointed id DataField property of TDBSRichViewEdit
by elGringo
Sat Aug 05, 2017 12:15 pm
Forum: Support
Topic: TSRichViewEdit doesn't save/load controls
Replies: 4
Views: 12703

Re: TSRichViewEdit doesn't save/load controls

Sorry for interrupting, not attentive today, just needed to register class...
RegisterClass(TScaleReportPanel);
by elGringo
Sat Aug 05, 2017 12:09 pm
Forum: Support
Topic: TSRichViewEdit doesn't save/load controls
Replies: 4
Views: 12703

TSRichViewEdit doesn't save/load controls

Having TSRichViewEdit. Inserting control like this SRichViewEdit.RichViewEdit.InsertControl('',scaleReportPanel,rvvaAbsMiddle); updating DB like this ... // blob SRichViewEdit.RVHeader.SaveRVFToStream(msHeader,false); SRichViewEdit.RichViewEdit.SaveRVFToStream(msBody,false); SRichViewEdit.RVFooter.S...
by elGringo
Sat Aug 05, 2017 7:50 am
Forum: Support
Topic: export TPanel as shortCode and import back
Replies: 3
Views: 11706

Re: export TPanel as shortCode and import back

Solved through OnSaveComponentToFile
by elGringo
Fri Aug 04, 2017 4:36 pm
Forum: Support
Topic: export TPanel as shortCode and import back
Replies: 3
Views: 11706

Re: export TPanel as shortCode and import back

Ok, this code saves controls and text but doesn't save any other non-text items (for example tables) - how to fix it? Does it mean that all other non text items shoud be handled manually? http://www.trichview.com/help/index.html?idh_class_trichview.html A lot of them ( I need manual handling only fo...
by elGringo
Fri Aug 04, 2017 3:42 pm
Forum: Support
Topic: export TPanel as shortCode and import back
Replies: 3
Views: 11706

export TPanel as shortCode and import back

Good time, Sergey! In other post https://www.trichview.com/forums/viewtopic.php?f=2&t=8807&p=33515#p33515 i tried to export/import audio video to HTML and back, and finished on text variant. Nowadays situation. Having TSRVPanel inserted in TSRichViewEdit. I want to 1. export it to HTML as so...
by elGringo
Sat Jul 15, 2017 6:49 am
Forum: Support
Topic: sometimes it becomes gray...
Replies: 2
Views: 9905

Re: sometimes it becomes gray...

Ok, solved through manually setting to white

Code: Select all

    
             rve.BackgroundStyle:=bsNoBitmap;
             rve.Color:=clWhite;
             rve.Format;
             
by elGringo
Sat Jul 15, 2017 6:21 am
Forum: Support
Topic: sometimes it becomes gray...
Replies: 2
Views: 9905

Re: sometimes it becomes gray...

don't know but when i change manually color of rve through rvActionBackground1 it becomes white
how to change it to white from code?
it must be some bug
by elGringo
Sat Jul 15, 2017 6:14 am
Forum: Support
Topic: Encoding, WTF
Replies: 6
Views: 16700

Re: Encoding, WTF

Thanks, but didn't help. Nevermind for the moment.
by elGringo
Sat Jul 15, 2017 6:07 am
Forum: Support
Topic: sometimes it becomes gray...
Replies: 2
Views: 9905

sometimes it becomes gray...

hi, strange behaviour of rve, doing simple program for testing
https://yadi.sk/i/0awXA0sN3L5Wk2

appears when destroy and create class with rve in runtime

how to repaint to white again?

Regards, Stainslav
by elGringo
Wed Jul 12, 2017 7:58 am
Forum: Support
Topic: video and audio shortCode
Replies: 2
Views: 10328

Re: video and audio shortCode

desided to change shortcodes on html equivalents before giving it to browser think it is easy decision for the moment it will be [VIDEO] src=srcValue; w=wValue; h=hValue; poster=posterValue [/VIDEO] in rve and HTML memo up to the moment of giving it is to browser when will give to browser - change t...
by elGringo
Tue Jul 11, 2017 7:01 pm
Forum: Support
Topic: video and audio shortCode
Replies: 2
Views: 10328

video and audio shortCode

Hello. Doing component consisting of rve and memo with toggle mode. Memo contains HTML exported from rve through SaveHTMLEx. As a result program will read html from db and give it to browser. 1. text and tables ok - it works from the box. 2. pictures. solved in neighbour http://www.trichview.com/for...
by elGringo
Tue Jul 11, 2017 8:04 am
Forum: Support
Topic: how to upload image to server and paste url as the picture to rve?
Replies: 23
Views: 47436

Re: how to upload image to server and paste url as the picture to rve?

Ok, tested more, it happens with big pictures,
190 KB size,

if pic is 700 bytes or something like this it is Ok,

if to click on rve, picture appears

i will do a testCase
by elGringo
Tue Jul 11, 2017 7:33 am
Forum: Support
Topic: how to upload image to server and paste url as the picture to rve?
Replies: 23
Views: 47436

Re: how to upload image to server and paste url as the picture to rve?

Hello, when i change width and height it is strange behaviour -picture inserted with origin w,h -resizes to new w,h -disappears if to click on rve - appears, tried CurrentRVE.SetFocus; CurrentRVE.FormatAll(); CurrentRVE.Repaint(); CurrentRVE.Refresh(); CurrentRVE.Update; CurrentRVE.OnClick(Self);