JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

Adding Panels to a Status Bar

You can add panels to a status bar at design time by opening the status bar's Panels property in the Properties window, which opens the StatusBarPanel Collection Editor, which you can see in Figure 10.21. You can use this editor to add new panels to the status bar; just click the Add button to add a new panel and fill in the properties of the panel you want. To remove a panel, use the Remove button.

Click To expand
Figure 10.21: The StatusBarPanel Collection Editor.

To add panels to a status bar in code, you use the StatusBar.Panels.Add and StatusBar.Panels.AddRange methods; to remove panels, you use the StatusBar.Panels.Remove and StatusBar.Panels.RemoveAt methods.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor