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

TdxNavBarViewInfo.TopScrollButtonState Property

Returns the current state of the top scroll bar button.

#Declaration

Delphi
property TopScrollButtonState: TdxNavBarObjectStates read;

#Property Value

Type
TdxNavBarObjectStates

#Remarks

Use the TopScrollButtonState property when handling the OnCustomDraw.TopScrollButton event. It enables you to distinguish between button states due to user actions. Thus, you can paint the button differently when it is hot-tracked, pressed or in the normal state.

The TopScrollButtonState property can return one of the following values.

Value Description
sHotTracked Indicates that the button is currently being hot-tracked.
sDisabled Indicates that the button is disabled. This can take place only when the VSToolBoxView View is applied to the control. In other Views, scroll buttons disappear when they are not needed.
sPressed Indicates that the button is currently being pressed.

Note

other values listed by the TdxNavBarObjectState enumeration are not available for the TopScrollButtonState property.

See Also