Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
# of StatusBarPanels in a StatusBar
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00930742
Message ID:
00930749
Views:
12
Einar,

It doesn't seem that the StatusBar object has an itemcount...I looked for StatusBar.Panels.Count and other things, and didn't come across any.

I'm going to check again and also look it up, because I'm a little surprised that a particular collection doesn't have a count prop, but I believe this should work for now...
int nCount = 0;
foreach(object oo in this.statusBar1.Panels)
   nCount++;
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform