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

TdxCustomNavBar.IsPtTopScrollButton(TPoint) Method

Returns a value indicating whether the specified point is over the top scroll button.

#Declaration

Delphi
function IsPtTopScrollButton(const pt: TPoint): Boolean;

#Parameters

Name Type
pt TPoint

#Returns

Type
Boolean

#Remarks

Call this function to see if a point is within the top scroll button’s bounding rectangle. If so, the function returns True. Otherwise, the return value is False. The point tested is specified by the pt parameter of the function. Note that it must be set in the client coordinates of the control (relatively to its top-left corner).

You can also see if a point is within the bottom scroll button’s bounding rectangle using the IsPtBottomScrollButton function. Please refer to its description for details on using these two functions.

See Also