[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Provides indexed access to the TStatusPanel items in the collection.
Source position: comctrls.pp line 108
public property TStatusPanels.Items[Index: Integer] : TStatusPanel |
Items is a TStatusPanel property which allows access to a status bar panel by an ordinal position specified in Index. Values in the Index argument must be in the range 0..Count-1.
Items is the default property for the class instance, and allows access using either of the following:
// var AStatusBar: TStatusBar; AStatusBar.Panels.Items[0]; AStatusBar.Panels[0];
It is also the target member for an enumerator. For example:
// var AStatusBar: TStatusBar; // APanel: TStatusPanel; for APanel in AStatusBar.Panels do begin APanel.Alignment := taCenter; APanel.Width := 88; end;
Use methods like Add, Delete, and Clear to maintain the items in the collection.
|
Implements a panel displayed in TStatusBar. |
|
|
Adds a new TStatusPanel instance to the collection. |
|
Version 4.0 | Generated 2025-05-03 | Home |