This question is locked. New answers and comments are not allowed.
Hi , I'm curently writing an 100% keyboard application and I got some trouble when I set the focus like this: MyCombobox.ComboBoxElement.TextBoxElement.TextBoxItem.Focus() and with the multicolumncombobox: MyMulticolumnCombobox.MultiColumnComboBoxElement.TextBoxElement.TextBoxItem.Focus() It work fine but if after that I take mouse it throw me an exception with this stack trace:
" at Telerik.WinControls.UI.PopupManager.OnMouseDown(Point cursorPos)\r\n at Telerik.WinControls.UI.PopupManager.PreFilterMessage(Message& msg)\r\n at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)\r\n at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)\r\n at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)\r\n at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.Application.Run(ApplicationContext context)\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)\r\n at DPARS_POS.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81\r\n at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)\r\n at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)\r\n at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()\r\n at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)\r\n at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)\r\n at System.Activator.CreateInstance(ActivationContext activationContext)\r\n at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()\r\n at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Threading.ThreadHelper.ThreadStart()"
Hope you will be able to help me
Thanks
Alexandre Samson
" at Telerik.WinControls.UI.PopupManager.OnMouseDown(Point cursorPos)\r\n at Telerik.WinControls.UI.PopupManager.PreFilterMessage(Message& msg)\r\n at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)\r\n at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)\r\n at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)\r\n at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n at System.Windows.Forms.Application.Run(ApplicationContext context)\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()\r\n at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)\r\n at DPARS_POS.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81\r\n at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)\r\n at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)\r\n at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()\r\n at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)\r\n at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)\r\n at System.Activator.CreateInstance(ActivationContext activationContext)\r\n at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()\r\n at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n at System.Threading.ThreadHelper.ThreadStart()"
Hope you will be able to help me
Thanks
Alexandre Samson