TdxNavBarViewInfo.TopScrollButtonState Property
In This Article
Returns the current state of the top scroll bar button.
#Declaration
Delphi
property TopScrollButtonState: TdxNavBarObjectStates read;
#Property Value
Type |
---|
Tdx |
#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 |
---|---|
s |
Indicates that the button is currently being hot-tracked. |
s |
Indicates that the button is disabled. This can take place only when the VSTool |
s |
Indicates that the button is currently being pressed. |
Note
other values listed by the Tdx
See Also