Page 1 of 1
freeware version
Posted: Tue Apr 05, 2016 11:29 pm
by gaston
Hello Sergey, I understand this forum is dedicated to support paid versions, so, before posting a question about freeware version (0.5.2), I'm asking for your permission. Is there any other channel for this eventually? Thanks in advance!
Posted: Wed Apr 06, 2016 7:35 am
by Sergey Tkachenko
You can post questions in this forum
Posted: Wed Apr 06, 2016 10:17 pm
by gaston
great! I´ve managed to succesfully install richview 0.5.2 in d2007. My goal is to code a modest chat application which supports "clickable" images. I found this can be accomplished either by AddHotSpot... or by AddControl... My problem is, if I try addHotSpot, images get "granulated". I've replaced the hotspot image in the included demo with your logo, and it shows like this:
If I try the second approach (which I'd prefer btw), I've found that controls "disappear" every time I perform a formattail. working with the same demo, if I run this code
Code: Select all
richview1.AddTextFromNewLine('TEXT', rvsheading);
richview1.Formattail;
richview1.Refresh;
the embedded button dissapears. This works fine if I perform a Format instead.
Posted: Thu Apr 07, 2016 8:45 am
by Sergey Tkachenko
I tried to compile v0.5.2 in D2007.
The following line was not compiled:
Code: Select all
TImageList(li.gr).DrawingStyle := dsNormal;
How did you changed it?
It should be
Code: Select all
TImageList(li.gr).DrawingStyle := ImgList.dsNormal;
Posted: Thu Apr 07, 2016 9:08 pm
by gaston
You're absolutely right! that was my big mistake, I had changed it this way:
TImageList(li.gr).DrawingStyle := ImgList.TDrawingStyle(dsNormal)
I corrected it as you suggested, and now it works smoothly! (the images shows that effect only when clicked, which I assume is its normal behaviour as they've a "link" style applied)
A huge THANK YOU Sergey!. If you have the time, could you please check the issue with the disspearing inserted controls after a formattail? If not, I'll understand. Once again, thanks for your time and disposition!