C# Class LitDev.LDFocus

Datei anzeigen Open project: litdev1/LitDev

Public Methods

Method Description
GetFocus ( ) : Primitive

Gets the shape that has current focus.

IsFocus ( Primitive shapeName ) : Primitive

Checks if the named shape has the focus.

SetFocus ( Primitive shapeName ) : Primitive

Sets the named shape to have focus.

Method Details

GetFocus() public static method

Gets the shape that has current focus.
public static GetFocus ( ) : Primitive
return Primitive

IsFocus() public static method

Checks if the named shape has the focus.
public static IsFocus ( Primitive shapeName ) : Primitive
shapeName Primitive /// The shape name (usually a textbox). ///
return Primitive

SetFocus() public static method

Sets the named shape to have focus.
public static SetFocus ( Primitive shapeName ) : Primitive
shapeName Primitive /// The shape name (usually a textbox). ///
return Primitive