|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Dang, trivial problem!Dang, my status bar text doesn't update. It's got just one panel and it
always shows the text I set at design time. ("Ready"). All I am doing is: Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click 'Do stuff sbr.Panels(0).Text = "The update has been saved." End Sub Hi,
Did you set the "showPanels" property to true? Ahmed Water Cooler v2 wrote: Show quoteHide quote > Dang, my status bar text doesn't update. It's got just one panel and it > always shows the text I set at design time. ("Ready"). > > All I am doing is: > > > Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As > System.EventArgs) Handles btnOK.Click > > 'Do stuff > > sbr.Panels(0).Text = "The update has been saved." > > End Sub This is VB.NET code and not C# basically. But create an project and insert
all these files and play with it. chanmm Show quoteHide quote "Water Cooler v2" <wtr_***@yahoo.com> wrote in message [attached file: Form1.resx]news:1150809467.076798.184540@y41g2000cwy.googlegroups.com... > Dang, my status bar text doesn't update. It's got just one panel and it > always shows the text I set at design time. ("Ready"). > > All I am doing is: > > > Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As > System.EventArgs) Handles btnOK.Click > > 'Do stuff > > sbr.Panels(0).Text = "The update has been saved." > > End Sub > [attached file: Form1.cs] [attached file: Form1.Designer.cs] I'd check to see if an exception is thrown. If one is thrown, the
control is going to swallow it up. My guess is that you don't have a panel set up correctly. -- Show quoteHide quote- Nicholas Paldino [.NET/C# MVP] - mvp@spam.guard.caspershouse.com "Water Cooler v2" <wtr_***@yahoo.com> wrote in message news:1150809467.076798.184540@y41g2000cwy.googlegroups.com... > Dang, my status bar text doesn't update. It's got just one panel and it > always shows the text I set at design time. ("Ready"). > > All I am doing is: > > > Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As > System.EventArgs) Handles btnOK.Click > > 'Do stuff > > sbr.Panels(0).Text = "The update has been saved." > > End Sub >
More VS2003 to VS2005 questions
Mouse/Screen Image Status Datagrids how to launch media player and a selected file from within VB.Net app? How do I make my computer unstupid? asp.net template for user registration how do i compare two string and get the difference? Calling .Net DLL functions in Excel 2003 How to update application settings in vb.net code Easiest way to get the equivalent of vb6 app.path in vs2005 Vb.net |
|||||||||||||||||||||||