Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Command Bar with ReportControl on Form
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Command Bar with ReportControl on Form

 Post Reply Post Reply
Author
Message
alexshemesh View Drop Down
Groupie
Groupie


Joined: 22 February 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexshemesh Quote  Post ReplyReply Direct Link To This Post Topic: Command Bar with ReportControl on Form
    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?

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: 23 February 2009 at 3:34am

Hi,

Can't reproduce it. What Visual Studio do you have ?
Are you sure its not under ReportControl? :)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
alexshemesh View Drop Down
Groupie
Groupie


Joined: 22 February 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexshemesh Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2009 at 10:36am
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.

Back to Top
alexshemesh View Drop Down
Groupie
Groupie


Joined: 22 February 2009
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexshemesh Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2009 at 10:07am
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.

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: 02 March 2009 at 7:54am
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
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.109 seconds.