cancel
Showing results for 
Search instead for 
Did you mean: 

Text in text box is clipped when font is bold

Former Member
0 Kudos

<p class="ssiBODYCOPY">Hi,<br /><br />I am adding a text box object in a subreport at run time (code below). If I set the font to Bold, the text is clipped. Is there something I am doing wrong or is a bug in Crystal? I am using Crystal Reports XI.<br /><br />//subreportHeaderSection defined earlier as ISectionPtr</p><p class="ssiBODYCOPY">ITextObjectPtr txtBox = subreportHeaderSection->AddTextObject(_bstr_t("uiSpacing1234567890"), 0, 0);<br />CComQIPtr<IFont,&IID_IFont> pFont(txtBox->GetFont());<br />pFont->put_Bold(TRUE);<br /><br />Thanks.<br /></p>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Billy.

I see that you posted this question in the RDC forum too. I believe that is the correct location for this question as you'll need an RDC expert to look into this. I'm a CRW32.EXE subject matter expert. In CRW32, it works just fine. 🙂

Please look for a response on your other post at http://diamond.businessobjects.com/node/660

Thanks.

    - Kathryn Webster (Report Design Consultant)
          Kat&#39;s News: http://diamond.businessobjects.com/blog/279


Former Member
0 Kudos

Hi, thanks for your reply, but what is CRW32? I am using Crystal Reports 11Â Service Pack 2, I think that I am up-to-date.

PS. This is an RDC question, but the RDC forum you mentioned is under VB, I am using VC++. I've put it there as well in desperation.

Regards,

Billy

Former Member
0 Kudos

Hi Billy.

Sorry for the misunderstanding. Yes I figured you were using CR Xi r2 and CRW32 for the initial design of the report but it appears to me that there is no problem with the design. It's now in the development of the application using the RDC (using events) that is the issue.

That being said, we'll need to get someone with more of a developer background to take a look. Perhaps adding to your thread in the other forum what versions and software you're using will help spark interest. (VC ++ and CR XI r2).

    - Kathryn Webster (Report Design Consultant)
          Kat&#39;s News: http://diamond.businessobjects.com/blog/279


Answers (0)