Page 1 of 1

Some issues in Designer hosted in WPF application

Posted: Fri Aug 24, 2012 1:45 pm
by LukasT
Hello,
we have to use in our WPF application WinForm Designer hosted using WindowsFormsHost (WPF Designer is absolutely useless due to poor speed :-(). But it has some following bugs. You have to debug it on WPF Application with hosted Designer.

First is ignoring of Delete key. I can't delete object using keyboard. We aren't handling Key.Delete press event.

Second is unhandled exception which Designer throws when I press Enter on some StiText object.... Here is StackTrace:

Code: Select all

Control does not support transparent background colors.

   at System.Windows.Forms.Control.set_BackColor(Color value)
   at System.Windows.Forms.TextBoxBase.set_BackColor(Color value)
   at Stimulsoft.Report.Design.Tools.StiTextEditorToolService.TextEditorOpen(StiComponent component)
   at Stimulsoft.Report.Design.Tools.StiTextEditorToolService.StartTextEditor(StiComponent component)
   at Stimulsoft.Report.Design.Controls.StiViewControl.OpenEditor(String str)
   at Stimulsoft.Report.Design.Controls.StiViewControl.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WmKeyChar(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()
Maybe this helps - http://stackoverflow.com/questions/1058 ... und-colors

Re: Some issues in Designer hosted in WPF application

Posted: Mon Aug 27, 2012 12:15 pm
by Alex K.
Hello,

We have added your request to our to-do list, but I cannot say when it will be available.

Thank you.