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

TdxCustomLayoutControl.LeftPos Property

Determines the horizontal offset of the currently visible left border relative to the real left border of the TdxCustomLayoutControl object.

#Declaration

Delphi
property LeftPos;

#Property Value

Type
Integer

#Remarks

When the client area size of the TdxCustomLayoutControl object is less than its content’s size, scrollbars are displayed. If the ExpressLayout Control is horizontally scrolled, you may use the LeftPos property to obtain the difference between the actual left border of the ExpressLayout Control and its currently visible left border. You can specify a new value for this property to scroll to a specific horizontal position of the ExpressLayout Control.

If the client area of the TdxCustomLayoutControl object displays its entire contents and scrolling is not required, the LeftPos property is set to 0. Modifications to the LeftPos property are thus unavailable.

See Also