Print Page | Close Window

Incorect Button display in ReportControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11438
Printed Date: 15 November 2025 at 8:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Incorect Button display in ReportControl
Posted By: rokky05
Subject: Incorect Button display in ReportControl
Date Posted: 14 July 2008 at 1:56pm
Hi Oleg,

I added some button in Report control:

OnCreate(LPCREATESTRUCT lpCreateStruct)
{
      .
      .
      .
     m_Btn = new CXTPReportInplaceButton(1000);
    CRect rect(0, 0, 50, 50);

    XTP_REPORTRECORDITEM_ARGS pItemArgs(&m_wndView,m_wndView.GetRows()->GetAt(0),m_wndView.GetColumns()->GetAt(6));

    m_Btn->Create(&pItemArgs,rect);
    m_Btn->SetInsideCellButton(TRUE);
    m_Btn->ShowWindow(TRUE);
}

BUT I can't set width of button :( I change a height for help var 'rect', but I can not influence on a width. How is it possible to do???



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net