Page 2 of 2

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

Posted: Mon Jul 10, 2017 11:09 am
by elGringo
Ok, solved! Your helpful forum works!

Code: Select all

           ARVE.SetCurrentItemExtraIntProperty(rvepImageHeight,30,True);
           ARVE.SetCurrentItemExtraIntProperty(rvepImageWidth,30,True);

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

Posted: Mon Jul 10, 2017 8:10 pm
by Sergey Tkachenko
ARVE.SetCurrentItemExtraIntProperty(rvepImageWidth, ...);
ARVE.SetCurrentItemExtraIntProperty(rvepImageHeight, ...);

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

Posted: Tue Jul 11, 2017 7:33 am
by elGringo
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

Code: Select all

 
     CurrentRVE.SetFocus;
     CurrentRVE.FormatAll();
     CurrentRVE.Repaint();
     CurrentRVE.Refresh();
     CurrentRVE.Update;
     CurrentRVE.OnClick(Self);
     

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

Posted: Tue Jul 11, 2017 7:33 am
by elGringo
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

Code: Select all

 
     CurrentRVE.SetFocus;
     CurrentRVE.FormatAll();
     CurrentRVE.Repaint();
     CurrentRVE.Refresh();
     CurrentRVE.Update;
     CurrentRVE.OnClick(Self);
     

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

Posted: Tue Jul 11, 2017 7:37 am
by Sergey Tkachenko
Please send me a simple project reproducing this problem (to email richviewgmailcom)

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

Posted: Tue Jul 11, 2017 8:04 am
by elGringo
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

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

Posted: Tue Jul 11, 2017 9:39 am
by elGringo
sent testCase

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

Posted: Tue Jul 11, 2017 3:51 pm
by Sergey Tkachenko
I confirm the problem, it happens when a horizontal scrollbar is hidden. I sent a fixed unit, it will be also included in the next update.

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

Posted: Thu Jul 20, 2017 8:40 am
by Sergey Tkachenko
Fixed in TRichView 16.15.5