Minor Designer Issue

Stimulsoft Reports.NET discussion
Post Reply
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Minor Designer Issue

Post by xss »

Hi guys,

I came across a minor Designer issue.

When dragging columns, variables, ... from the dictionary following exception occurs:

Invalid Parameter.

Stack Trace:
bei System.Drawing.Graphics.MeasureString(String text, Font font, SizeF layoutArea, StringFormat stringFormat)
bei System.Drawing.Graphics.MeasureString(String text, Font font, Int32 width, StringFormat format)
bei Stimulsoft.Base.Drawing.StiTextDrawing.MeasureString(Graphics g, String text, Font font, Double width, StiTextOptions textOptions, StiTextHorAlignment ha, StiVertAlignment va, Boolean antialiasing)
bei Stimulsoft.Report.Components.StiStandardTextRenderer.MeasureString(Double maxWidth, Font font, StiText textBox)
bei Stimulsoft.Report.Components.StiText.GetActualSize()
bei Stimulsoft.Report.Design.StiDesignerDragDrop.StartDragDrop(StiDesignerControl designer, StiComponent componentForCreate, Control dragDropSender, String textForTextComponent, String textForLabel)
bei Stimulsoft.Report.Dictionary.Design.StiDictionaryControl.tvData_ItemDrag(Object sender, ItemDragEventArgs e)
bei System.Windows.Forms.TreeView.OnItemDrag(ItemDragEventArgs e)
bei System.Windows.Forms.TreeView.TvnBeginDrag(MouseButtons buttons, NMTREEVIEW* nmtv)
bei System.Windows.Forms.TreeView.WmNotify(Message& m)
bei System.Windows.Forms.TreeView.WndProc(Message& m)
bei Stimulsoft.Report.Controls.StiTreeView.WndProc(Message& msg)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Version: 2009.3.508.0

Regards
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Minor Designer Issue

Post by Andrew »

Hello,

Could describe step-by-step how did you get this exception. How to reproduce the error?

Thank you.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Minor Designer Issue

Post by Andrew »

... and, in addition, what version of the product do you use?

Thank you.
xss
Posts: 64
Joined: Wed Jun 10, 2009 3:03 am
Location: Austria

Minor Designer Issue

Post by xss »

Good morning,

found it. I thought calling the Designer with Design() from report object will make an internal copy, so I disposed it afterwards. :shame:

Thank you and sorry for waisting your time.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Minor Designer Issue

Post by Edward »

Hi,

No problem :)

Please let us know if you need any help.

Thank you.
Post Reply