StatusBarPanel exception

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I just started getting an exception in my application it says "Unable to set the panel text." (Although it occurs the first time on setting the alignment property on one of the panels)I have several panels and this only happens on some of them. Any ideas?

Thanks

Alex
 
Slide-O-Mix said:
I just started getting an exception in my application it says
"Unable to set the panel text."

Does that occur at designtime or runtime? If it is a runtime exception,
what's the type of the exception? Is it possible to post the callstack?
 
It is a runtime error. The call stack is below...

Unable to set the panel text.
at System.Windows.Forms.StatusBarPanel.Realize()
at System.Windows.Forms.StatusBarPanel.set_BorderStyle(StatusBarPanelBorderStyle value)
at HostController.frmStartup.InitializeComponent() in <filename here>
at HostController.frmStartup..ctor() in <filename here>
 
The type of the exception is InvalidOperationException, forgot it in the last post
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top