Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Windows Namespace / LiveLogViewer Class / SetAutoScroll Method
True will enable the viewer to automatically scroll new messages into view. False will leave the viewer displaying the same messages as new ones are added to the buffer.

In This Topic
    SetAutoScroll Method
    In This Topic
    Turn auto-scrolling on or off, until the next interactive change.
    Syntax
    'Declaration
     
    
    Public Sub SetAutoScroll( _
       ByVal value As Boolean _
    ) 
    public void SetAutoScroll( 
       bool value
    )

    Parameters

    value
    True will enable the viewer to automatically scroll new messages into view. False will leave the viewer displaying the same messages as new ones are added to the buffer.
    Remarks
    This is not a permanent setting but a programmatic hook to change an interactive setting. If the user clicks on the grid or scrolls back, auto-scroll is turned off automatically, and it is also turned off if the user hits the Pause button. If the user hits the Play button, auto-scroll is activated. This method allows an encompassing control to set an initial behavior, for example.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also