TdxCustomNavBar.IsPtTopScrollButton(TPoint) Method
Returns a value indicating whether the specified point is over the top scroll button.
Declaration
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