Automatically position toolbars?

Stimulsoft Reports.NET discussion
Mark Smith
Posts: 37
Joined: Tue Jun 13, 2006 8:59 am
Location: Yorkshire, UK

Automatically position toolbars?

Post by Mark Smith »

Is it possible to make the toolbars automatically position themselves when the application window is resized?

It used to be that they did this with no intervention.

Second - is it possible to prevent the toolbars getting places above the main menu?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Automatically position toolbars?

Post by Edward »

Hi Mark,

No we do not have plans to rearrange toolbars automatically when the main window is being resized.

Please explain the second problem in detail.

Thank you.
Mark Smith
Posts: 37
Joined: Tue Jun 13, 2006 8:59 am
Location: Yorkshire, UK

Automatically position toolbars?

Post by Mark Smith »

Edward wrote:Hi Mark,

No we do not have plans to rearrange toolbars automatically when the main window is being resized.

Please explain the second problem in detail.

Thank you.
It used to be possible to get your toolbars to automatically re-position themselves via a pop-up menu option in the toolbar area. I notice that this option has gone now you've gone with the third party toolbar.

Re-positioning these toolbars manually is difficult, and I'd hate to inflict it on my users. In fact, I hate inflicting it on myself during testing.
Mark Smith
Posts: 37
Joined: Tue Jun 13, 2006 8:59 am
Location: Yorkshire, UK

Automatically position toolbars?

Post by Mark Smith »

Having spent the last couple of hours reviewing it, I've concluded that the toolbar fails to meet a minimum level of usability.

1: The toolbars are different heights - the standard and formatting bars are higher than the rest.
2: Dragging the toolbars does not work properly - they move a bit and then stop moving - I have to get hold of them again and finish what I was doing
3: There's a gap between the top toolbar and the others.
4: Moving one toolbar causes the others to reposition semi-randomly

I cannot release my product based on your library like this.

You need to look at this right now, I think.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Automatically position toolbars?

Post by Jan »

Hello Mark,
1: The toolbars are different heights - the standard and formatting bars are higher than the rest.
This problem fixed in build from 06 April.
2: Dragging the toolbars does not work properly - they move a bit and then stop moving - I have to get hold of them again and finish what I was doing
Sorry i can't reproduce this problem. Can you provide steps for reproducing it?
3: There's a gap between the top toolbar and the others.
This problem fixed in build from 06 April.
4: Moving one toolbar causes the others to reposition semi-randomly
Sorry this is how it work. Look to Office 2003. It work similar.

Thank you.
Mark Smith
Posts: 37
Joined: Tue Jun 13, 2006 8:59 am
Location: Yorkshire, UK

Automatically position toolbars?

Post by Mark Smith »

Hi Jan -

Thanks for the quick turnaround on items 1 and 3.

2: Merely getting hold of a toolbar and trying to drag it left. It moves most of the way, but here, they consistently stop dragging at various points as I move them around. Sometimes they then jump to the mouse position. Other times, they just sit there and the cursor changes from cross hairs to pointer.

4: I haven't had Office 2003 installed for a couple of years now so cannot test it. I don't remember it being random. Visual Studio shows the behaviour I expect.
Mark Smith
Posts: 37
Joined: Tue Jun 13, 2006 8:59 am
Location: Yorkshire, UK

Automatically position toolbars?

Post by Mark Smith »

1: The toolbars are different heights - the standard and formatting bars are higher than the rest.
This problem fixed in build from 06 April.

Yes it is. Many thanks. :biggrin:
3: There's a gap between the top toolbar and the others.
This problem fixed in build from 06 April.

I still see this problem. :ops:

Additionally, if you undock a toolbar, and then click on the design surface of the report, the toolbar goes behind the report designer.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Automatically position toolbars?

Post by Jan »

Hello Mark,
Mark wrote:3: There's a gap between the top toolbar and the others.
Can you send screenshots?

Additionally, if you undock a toolbar, and then click on the design surface of the report, the toolbar goes behind the report designer.
Thank you for your bug report. We already contact to components vendor regarding this problem.

Thank you.
Mark Smith
Posts: 37
Joined: Tue Jun 13, 2006 8:59 am
Location: Yorkshire, UK

Automatically position toolbars?

Post by Mark Smith »

A belated reply regarding item 3: I worked out that the empty space on the toolbar was where your main menu would be if the service was enabled. I was disabling the main menu service in my config.xml, so it never showed up in the UI. It did, however, leave a nasty gap in the toolbar where the main menu should have been.

After a lot of experimenting, I found that

Code: Select all

{...
 DesignerControl.MainMenu.Visible = false;
...
}

private StiDesignerControl DesignerControl {
  get { return GetDesignerControl(); }
}

private StiDesignerControl GetDesignerControl() {
  if (this.Designer == null) {
    return null;
  }

  return this.Designer.DesignerControl as StiDesignerControl;
}

private StiDesigner Designer {
  get {
    return this.ActiveMdiChild as Stimulsoft.Report.Design.StiDesigner;
   }
}
Has the effect of hiding your main menu and at the same time reducing the amount of space allocated to the toolbar.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Automatically position toolbars?

Post by Jan »

Hello Mark,

Thank you for your information. Problem fixed. Patch will be available in build from 24 August.

Thank you.
Post Reply