Excalibur Software RainbowStatus 1.0
Add (Panels Object)
Function Add(
[Index], [Key As String], [Text As String], [Style As StatPanelStyles],
[Picture As StdPicture], [InitialWidth As Long], [ForeColor As Long],
[BackColor As Long], [Font As StdFont], [ToolTipStr As String],
[PanelAlignment As StatAlignments]
) As ExRainStatus.Panel
Description
Adds a panel to the statusbar and returns the Panel object associated with it.
Parameters
- Index - A number specifying the position within the statusbar where the
panel is placed.
- Key - A unique string that specifies a key
that can be used (as opposed to a positional index) to access
a member of the collection.
- Text - The text to be displayed in the panel.
- Style - The style of the panel (see Style).
- Picture - The picture to be displayed in the panel.
- InitialWidth - The width, in pixels, to be assigned to the panel.
- ForeColor - The color of the panel's text.
- BackColor - The background color of the panel.
- Font - The Font object that should be used to display the panel's text.
- ToolTipStr - The text of the tooltip that is displayed over the panel.
- PanelAlignment - The horizontal alignment of the text and picture in the panel.