Search found 27 matches

by Jacek Puczynski
Sat Jun 08, 2013 9:11 am
Forum: Support
Topic: [Bug] DeleteParas
Replies: 7
Views: 22876

Hi Sergey, Yes I will be able to do it. I will need to also change the version I am using as now. I installed version 3.x to avoid the issue. Please note that you are using limit 20. I suggested limit 200 because it was more realistic test with the control being scrolled vertically. (My real limit ...
by Jacek Puczynski
Fri Jun 07, 2013 9:09 pm
Forum: Support
Topic: [Bug] DeleteParas
Replies: 7
Views: 22876

I forgot about AddNL it might have some impact so it looks more like:

Code: Select all

richView->AddNL(Now().FormatString(timestamp), C_TIME, 0);
richView->Add(someText, C_NORMAL); 
richView->FormatTail(); 
if(richView->ItemCount > TEXT_LIMIT)) { 
      richView->DeleteParas(0, 1); 
   } 
by Jacek Puczynski
Fri Jun 07, 2013 9:00 pm
Forum: Support
Topic: [Bug] DeleteParas
Replies: 7
Views: 22876

I tested on versions: TRichView v14.5.1 and TRichView 14.0 and they contain this error. Previously I used TRichView 12 and there was no error of this kind. Also TRichView 13 seems not to have it. I am implementing a rolling log window with TRichView (not TRichViewEdit as in your code). I have ...
by Jacek Puczynski
Thu Jun 06, 2013 5:29 pm
Forum: Support
Topic: [Bug] DeleteParas
Replies: 7
Views: 22876

[Bug] DeleteParas

Hi,
It was a long time now I reported some bugs here.
But I believe I found a bug in TRichView last versions.
After calling DeleteParas(0, 1); at least one time on a full TRichView a text and displaying the component in a visible window:
List index out of bounds


Best regards,
Jacek
by Jacek Puczynski
Thu Mar 17, 2011 8:14 am
Forum: Support
Topic: EOutOfResources with GIF images
Replies: 9
Views: 28148

An easy solution might be to call TGIFImage.Dormant after TGIFImage.Draw. TGIFImage.Dormant releases all cached resources so it should reduce resource use but will probably also increase the CPU usage on redraws. Hi Anders, yes, it is possible, but it requires the modification in the component ...
by Jacek Puczynski
Tue Mar 15, 2011 9:07 am
Forum: Support
Topic: EOutOfResources with GIF images
Replies: 9
Views: 28148

Hi Sergey, thanks for help. Yes, it is a good idea to give a possibility of suppressing the destruction of that images. I was already testing it and it works until clearing of control which then tries to delete many pointers of the same object instance. Fake animator from the other side, will be ...
by Jacek Puczynski
Mon Mar 14, 2011 11:31 am
Forum: Support
Topic: EOutOfResources with GIF images
Replies: 9
Views: 28148

Did you include RVGifAnimate2007 in your project? Without this unit, animated gifs use too many resources. When this unit is included, resource usage is optimized. Hi Sergey, yes I include the file in this way: #include <RVGifAnimate2007.hpp> #pragma link "RVGifAnimate2007" As I said, the problem ...
by Jacek Puczynski
Thu Mar 10, 2011 8:22 pm
Forum: Support
Topic: EOutOfResources with GIF images
Replies: 9
Views: 28148

To give more details I present the call stack before application crash: :7512b727 KERNELBASE.RaiseException + 0x58 :005a24b0 ; Graphics::TCanvas::RequiredState :006d8a12 ; Gifimg::TGIFFrame::Draw :006deae1 ; Gifimg::TGIFImage::Draw :005a1b8c ; Graphics::TCanvas::Draw :00802f14 Rvgrin ...
by Jacek Puczynski
Thu Mar 10, 2011 4:54 pm
Forum: Support
Topic: EOutOfResources with GIF images
Replies: 9
Views: 28148

EOutOfResources with GIF images

Hi. I have a problem with displaying a large number of GIF images in TRichView. I have a limit for number of items and I remove them with DeleteParas so the text will not grow too much. However, there is still a problem that randomly occurs. I checked twice my code to see if there was any memory ...
by Jacek Puczynski
Tue Jun 01, 2010 5:40 pm
Forum: Support
Topic: C++ Builder 2010 & GIF Animation problem
Replies: 2
Views: 16498

Thank you.
Good tip.

Works.... :D
by Jacek Puczynski
Tue Jun 01, 2010 3:04 pm
Forum: Support
Topic: C++ Builder 2010 & GIF Animation problem
Replies: 2
Views: 16498

C++ Builder 2010 & GIF Animation problem

Hi. After I changed the C++ Builder and Delphi compiler to version 2010 (update 5) and TRichView to version 12.0.4 I am experiencing problems with GIF animation (the same code worked on C++ Builder 2007 previously). I provide the example project with example GIF file xbuu.gif in http://depositfiles ...
by Jacek Puczynski
Tue Nov 04, 2008 9:21 pm
Forum: Support
Topic: Copy Images as a Text to Clipboard
Replies: 2
Views: 11704

Thank you for your answer.

Hope it will be consider as a new feature for next versions.

Regards, Jacek.
by Jacek Puczynski
Mon Nov 03, 2008 5:26 pm
Forum: Support
Topic: Copy Images as a Text to Clipboard
Replies: 2
Views: 11704

Copy Images as a Text to Clipboard

Hello I have a problem with my TRichView: In the document there is a lot of text and small images. Now, when user selects the text with the images for copy to clipboard images are ignored ( I use CopyText() method). Now I would like to make the copying better and copy text with images like that text ...
by Jacek Puczynski
Fri Jul 07, 2006 7:09 am
Forum: Support
Topic: [TRichView bug?] Problem with white font and AddPicture
Replies: 10
Views: 33262

Some news about this bug? :?