Command Bar with ReportControl on Form |
Post Reply |
Author | |
alexshemesh
Groupie Joined: 22 February 2009 Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 22 February 2009 at 10:42am |
Hi
Im creating application in C# using Xtreme Suite 12.0 in my application i have simple form that should contain AxReportControl and command bar(AxCommandBars). The problem is that command bar is not created if from contain AxReportControl. Im doing like that 1.Create new form 2.Drag and Drop AxCommandBars control on the form in Designer 3.Compile and run application 4.I can see empty command bar in the form. 5.Stop applcation 6.Drag and Drop AxReportControl on Form in designer 7.Compile and run appliction 8.I can see report control but Command Bar is missing for some reason. What im doing wrong? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Can't reproduce it. What Visual Studio do you have ?
Are you sure its not under ReportControl? :)
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
alexshemesh
Groupie Joined: 22 February 2009 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
Hi Oleg.
Im using VS 2008. Im sure its not under report control, even if i make size of report to be 1x1 still i cant see toolbar. |
|
alexshemesh
Groupie Joined: 22 February 2009 Status: Offline Points: 17 |
Post Options
Thanks(0)
|
Try this
Open MDIDocking example supplied with Xtreme Suite 12.0. Add new Windows Form named Form1 to it. Drop ReportControl and CommandBars controls on it. Put following code to the end of frmMain_Load function Form1 frm = new Form1(); frm.MdiParent = this; frm.Show(); Compile and run application. You will see Form1 opened on startup, you can see report control but not CommandBars control. Thanks. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You did'n wrote that you use MDI Child form... Yes it was discussed - CommandBars and DOckingPane have to be created in Load event of MDI child form. Copy all generated code to Fomr_Load.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |