freeware version
freeware version
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!
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
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
the embedded button dissapears. This works fine if I perform a Format instead.
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;
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
I tried to compile v0.5.2 in D2007.
The following line was not compiled:
How did you changed it?
It should be
The following line was not compiled:
Code: Select all
TImageList(li.gr).DrawingStyle := dsNormal;
It should be
Code: Select all
TImageList(li.gr).DrawingStyle := ImgList.dsNormal;
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!
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!