Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NUIManager Class / GetActiveControl Method


In This Topic
    GetActiveControl Method
    In This Topic
    Gets the currently active control - that is the toplevel control that contains focus.
    Syntax
    'Declaration
     
    
    Public Shared Function GetActiveControl() As System.Windows.Forms.Control
    'Usage
     
    
    Dim value As System.Windows.Forms.Control
     
    value = NUIManager.GetActiveControl()
    public static System.Windows.Forms.Control GetActiveControl()

    Return Value

    The active control
    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