Skip to main content
Table of Contents

TTMSFNCCustomDataGrid.GetHScrollValue Method

Returns the current horizontal scroll position.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCCustomDataGrid

Syntax

GeneratedPascalC++
function GetHScrollValue: Single;
float __fastcall GetHScrollValue();

Remarks

Reads the external, custom or native scroll bar, whichever is active.

Returns

The scroll bar value, clamped between 0 and the maximum minus the page size.