LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

GotFocus Event






An event that triggers when your control receives the focus.
Syntax
event EventHandler GotFocus
'Declaration
 
Event GotFocus As EventHandler
'Usage
 
Dim instance As IAnnAutomationControl
Dim handler As EventHandler
 
AddHandler instance.GotFocus, handler
event EventHandler GotFocus
add_GotFocus(function(sender, e))
remove_GotFocus(function(sender, e))

event EventHandler^ GotFocus
Remarks

If your control is derived from the standard System.Windows.Forms.Control, then you do not need to implement this event (since the default System.Windows.Forms.Control.LostFocus will be used).

Example
For an example, refer to IAnnAutomationControl.
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

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.