ComponentOne SuperTooltip for WinForms
C1.Win.4.8 Assembly / 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 (ScrollableControl)
    In This Topic
    Gets percent of scrolled.
    Syntax
    'Declaration
     
    Protected Shared Function GetScrollPercent( _
       ByVal handle As System.IntPtr, _
       ByVal nBar As System.Integer _
    ) As System.Double
    protected static System.double GetScrollPercent( 
       System.IntPtr handle,
       System.int nBar
    )

    Parameters

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