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

TdxScrollMode Enum

Enumerates scroll modes in DevExpress controls (TcxControl and TdxVCLControl descendant instances).

#Declaration

Delphi
TdxScrollMode = (
    scmDefault,
    scmClassic,
    scmSmooth
);

#Members

Name
scmDefault
scmClassic
scmSmooth

#Remarks

Options include:

Value

Description

Example

scmDefault

The global scroll mode setting (that is, the root look & feel‘s ScrollMode property) determines if a control enables classic or smooth scroll mode by default. If the global scroll mode is also scmDefault, the cxDefaultLookAndFeelScrollMode global constant determines the active scroll mode for the control.

scmClassic

A control always scrolls its content discretely (by whole text lines, rows, or columns, for instance). The content position updates immediately, without a scroll animation.

scmSmooth

A control plays a scroll animation when an end user:

  • Clicks above or below the scroll thumb, except for scroll buttons.

  • Rotates the mouse wheel.

  • Uses keyboard to move focus between distant content items.

A click on the scroll thumb while the control plays the scroll animation stops scrolling immediately. You can use the dxScrollAnimationTime global constant to adjust the scroll animation speed.

Note

If the control supports per-pixel scroll mode, this value enables it at the default scroll settings.

#Direct TdxScrollMode Type References

The following properties reference the TdxScrollMode type:

TcxLookAndFeel.ScrollMode
Specifies the active scroll mode at the level of an individual control.
TcxLookAndFeelController.ScrollMode
Specifies the default scroll mode for all DevExpress controls in an application.
See Also