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

General TRichView support forum. Please post your questions here
elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

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

Post by elGringo » Mon Jul 10, 2017 11:09 am

Ok, solved! Your helpful forum works!

Code: Select all

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

Sergey Tkachenko
Site Admin
Posts: 13470
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko » Mon Jul 10, 2017 8:10 pm

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

elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

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

Post by elGringo » Tue Jul 11, 2017 7:33 am

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);
     

elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

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

Post by elGringo » Tue Jul 11, 2017 7:33 am

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);
     

Sergey Tkachenko
Site Admin
Posts: 13470
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko » Tue Jul 11, 2017 7:37 am

Please send me a simple project reproducing this problem (to email richviewgmailcom)

elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

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

Post by elGringo » Tue Jul 11, 2017 8:04 am

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

elGringo
Posts: 35
Joined: Thu Oct 08, 2015 7:01 pm

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

Post by elGringo » Tue Jul 11, 2017 9:39 am

sent testCase

Sergey Tkachenko
Site Admin
Posts: 13470
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko » Tue Jul 11, 2017 3:51 pm

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.


Post Reply