Input for WinForms | ComponentOne
C1.Framework Namespace / ScrollableControl Class / GetScrollPercent Method
A System.IntPtr indicates the handle of ScrollableControl
The int value of scroll bar

In This Topic
    GetScrollPercent Method
    In This Topic
    Gets percent of scrolled.
    Syntax
    'Declaration
     
    
    Protected Shared Function GetScrollPercent( _
       ByVal handle As IntPtr, _
       ByVal nBar As Integer _
    ) As Double
    protected static double GetScrollPercent( 
       IntPtr handle,
       int nBar
    )

    Parameters

    handle
    A System.IntPtr indicates the handle of ScrollableControl
    nBar
    The int value of scroll bar
    See Also