Search found 12 matches

by pdcuser
Wed Jul 13, 2011 11:07 pm
Forum: Support
Topic: DivideByZero Error
Replies: 5
Views: 13263

Thanks!
by pdcuser
Mon Jul 11, 2011 10:53 pm
Forum: Support
Topic: DivideByZero Error
Replies: 5
Views: 13263

I just submitted an email with the title, "Sample Application." Let me know if it doesn't reach you.
by pdcuser
Mon Jul 11, 2011 9:33 pm
Forum: Support
Topic: DivideByZero Error
Replies: 5
Views: 13263

Yes I will. Give me a day or two to isolate the issue.
by pdcuser
Mon Jul 11, 2011 9:28 pm
Forum: Support
Topic: Calculating Content Width
Replies: 3
Views: 11606

This always returns the width of the bitmap's canvas. For future reference, I was able to solve this one via:

Code: Select all

  Width := rvh.RichView.LeftMargin + rvh.RichView.RightMargin;
  for I := 0 to rvh.RichView.RVData.DrawItems.Count - 1 do
    Width := Width + rvh.RichView.RVData.DrawItems[I].Width;
by pdcuser
Mon Jul 11, 2011 6:29 pm
Forum: Support
Topic: DivideByZero Error
Replies: 5
Views: 13263

DivideByZero Error

After upgrading to TRichView 13.0.5, I am receiving a DivideByZero error in both TRVStyle.GetAsDevicePixelsX and TRVStyle.GetAsDevicePixelsY. PSaD.ppixScreen and PSaD.ppixDevice are both set to 0 by the time this routine executes in certain cases.
by pdcuser
Fri Jul 08, 2011 6:17 pm
Forum: Support
Topic: Calculating Content Width
Replies: 3
Views: 11606

Calculating Content Width

At my work, we have built our on custom label built using TRichView. We are using the TRVReportHelper to paint to the label's canvas. It has become necessary to identify the width and height of the content being painted so that we can calculate the size to make the label. Currently, we successfully ...
by pdcuser
Wed Aug 22, 2007 6:16 pm
Forum: Support
Topic: Auto calculate reporter height
Replies: 2
Views: 9425

That did it. Thanks again!
by pdcuser
Wed Aug 22, 2007 2:25 am
Forum: Support
Topic: Auto calculate reporter height
Replies: 2
Views: 9425

Auto calculate reporter height

I am using the TRVReportHelper component to paint RVF text to a Canvas. Given a canvas of x width, I want to determine the height the canvas has to be in order to see the wordwrapped text. The problem I am having is the last word on the line seems to disappear occasionally, instead of wordwrapping ...
by pdcuser
Fri Aug 17, 2007 4:51 pm
Forum: Support
Topic: ApplyListStyle
Replies: 6
Views: 16194

That did it. Thanks!
by pdcuser
Thu Aug 16, 2007 2:45 pm
Forum: Support
Topic: ApplyListStyle
Replies: 6
Views: 16194

I sent you the project awhile back. Were you able to receive it? If not, how do I send it to you? Thanks!
by pdcuser
Tue Jun 26, 2007 8:04 pm
Forum: Support
Topic: ApplyListStyle
Replies: 6
Views: 16194

No, there is no table or break. I built a demo project from scratch to further investigate. As it turns out, the problem occurs when a level other than level 0 is selected. To replicate: 1. Build a new project in delphi 2. Add a TRichViewEdit and a TRVStyle. Link them together. 3. Create a new ...
by pdcuser
Fri Jun 22, 2007 5:03 pm
Forum: Support
Topic: ApplyListStyle
Replies: 6
Views: 16194

ApplyListStyle

In my TRVStyle component, I have created a List Style. I have added three Levels to the List Style of type rvlstDecimal. The FormatString property is set to "%s." StartFrom is set to 1. In my code I have: FRichViewEdit.SelectAll; FRichViewEdit.ApplyListStyle(0, // List Style 1, // Level 7, // Start ...