Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - help,word warp question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

help,word warp question

 Post Reply Post Reply
Author
Message
zhaizr View Drop Down
Newbie
Newbie


Joined: 17 August 2010
Location: China
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote zhaizr Quote  Post ReplyReply Direct Link To This Post Topic: help,word warp question
    Posted: 17 August 2010 at 10:38am

public Form4()
        {
            InitializeComponent();
            InitData();
            AddRows();
        }

        private void InitData()
        {
            ReportColumn column;
            column = axReportControl1.Columns.Add(0, "title", 59, true);

            column = axReportControl1.Columns.Add(1, "content", 111, true);
            column.Alignment = XTPColumnAlignment.xtpAlignmentWordBreak;

          
            axReportControl1.PaintManager.FixedRowHeight = false;

            axReportControl1.Populate();
        }


        private void AddRows()
        {

            for (int i = 0; i < 10; i++)
            {
                ReportRecord record = axReportControl1.Records.Add();

                record.AddItem(i.ToString());
                record.AddItem("bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb");
            }
            axReportControl1.Populate();
        }

Where does the problem occur?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2010 at 7:44am
You don't have any spaces, so standard windows DrawText API can't wrap it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.