Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomStatusBar.GetPanelAt(Integer,Integer) Method

Returns the current status bar’s panel that contains the specified point.

#Declaration

Delphi
function GetPanelAt(X: Integer; Y: Integer): TdxStatusBarPanel; virtual;

#Parameters

Name Type
X Integer
Y Integer

#Returns

Type
TdxStatusBarPanel

#Remarks

The GetPanelAt function returns the current status bar’s panel that contains the point whose coordinates are specified by the X and Y parameters. If the specified point does not correspond to a status bar panel from the Panels collection, this function returns nil.

Use this method when handling an event that can determine the X and Y parameters, for instance, the OnMouseDown or OnMouseUp event.

See Also