![]() |
Problem with addition button in Report Control |
Post Reply ![]() |
Author | |
__XTP__ ![]() Newbie ![]() Joined: 13 July 2008 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 13 July 2008 at 11:11am |
Hi, can't addition button in My Report Control, I do:
OnCreate() { . . . CXTPReportInplaceButton m_Btn(ID_BTN); CRect rect(50,50, 50, 50); XTP_REPORTRECORDITEM_ARGS pItemArgs(&m_wndView,m_wndView.GetRows()->GetAt(0),m_wndView.GetColumns()->GetAt(5)); m_Btn.Create(&pItemArgs,rect); m_Btn.SetInsideCellButton(TRUE); m_Btn.ShowWindow(TRUE); } But button not display in control :( Why????? |
|
![]() |
|
jimmy ![]() Senior Member ![]() Joined: 11 November 2003 Location: Austria Status: Offline Points: 516 |
![]() ![]() ![]() ![]() ![]() |
Change m_Btn from local Var to Member Variable.
Jimmy |
|
![]() |
|
__XTP__ ![]() Newbie ![]() Joined: 13 July 2008 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Not working!!!!!
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |