I want to make sure the panels on the status bar are wide enough to display the message I am passing in. I tried:
sbMain.Panels.Width = len(message) and got a compile error that the width property could not be set. Then I tried
sbMain.Panels(1).MinWidth = len(message). This time it said that the index was out of bounds, but I only have one panel and when I went to the custom properties box it says it is index #1.
What am I missing?
Thanks.
sbMain.Panels.Width = len(message) and got a compile error that the width property could not be set. Then I tried
sbMain.Panels(1).MinWidth = len(message). This time it said that the index was out of bounds, but I only have one panel and when I went to the custom properties box it says it is index #1.
What am I missing?
Thanks.