Search found 5 matches

by dikonsult
Wed Mar 18, 2020 7:39 am
Forum: Support
Topic: Pictures in TRichViewEdit
Replies: 9
Views: 34594

Re: Pictures in TRichViewEdit

Hi and thank's for your patience with my "problems". One last question on pictures. I can scale pictures in RichViewEdit either with the mouse or with the ObjectProperties. But is there a way to save the picture with the new scaling or is it always stored in the original size in the document ...
by dikonsult
Tue Mar 17, 2020 1:26 pm
Forum: Support
Topic: Pictures in TRichViewEdit
Replies: 9
Views: 34594

Re: Pictures in TRichViewEdit

Hi,
Thank's for your comment Goran.
Does anyone perhaps know if there is a way to compress the stream in the same way as we compress files with to zip-format?

Regards
by dikonsult
Tue Mar 17, 2020 8:02 am
Forum: Support
Topic: Pictures in TRichViewEdit
Replies: 9
Views: 34594

Re: Pictures in TRichViewEdit

Hi, First I have to say that I'm sorry for bad debugging from my side. I did not catch the error message correctly. Now I see that I get the error message "Data too long" when executing the SQL statement. Changing to LongBlob seems too fix it but when adding another picture I get error "Server has ...
by dikonsult
Mon Mar 16, 2020 10:41 pm
Forum: Support
Topic: Pictures in TRichViewEdit
Replies: 9
Views: 34594

Re: Pictures in TRichViewEdit

Sorry, it should say notering.Position := 0; I'm saving according to the first part: ADOQtable.SQL.Add('INSERT INTO Table1'); ADOQtable.SQL.Add('Notering = :Notering'); ADOQtable.Parameters.ParseSQL(ADOQtable.SQL.Text,true); Notering.Position := 0; ADOQtable.Parameters.ParamByName('Notering ...
by dikonsult
Mon Mar 16, 2020 8:50 am
Forum: Support
Topic: Pictures in TRichViewEdit
Replies: 9
Views: 34594

Pictures in TRichViewEdit

Hi, I'm trying out the RichViewEdit coponent in my application for possible future use but have a problem when including pictures in the text. With no pictures in the text I can use the code below but it will not work with pictures. I have isolated the problem to be when I'm saving the TStream to my ...