on 09-21-2006 6:51 PM
<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>
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's News: http://diamond.businessobjects.com/blog/279
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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's News: http://diamond.businessobjects.com/blog/279
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.