InputPanel for WinForms帮助文档
Focus 方法 (InputComponent)






Sets input focus to the component.
语法
'声明
 
Public Overridable Function Focus() As System.Boolean
'用法
 
Dim instance As InputComponent
Dim value As System.Boolean
 
value = instance.Focus()
public virtual System.bool Focus()
public function Focus(): System.Boolean; virtual; 
public function Focus() : System.boolean;
public: virtual System.bool Focus(); 
public:
virtual System.bool Focus(); 

返回值

True if the focus request was successful, false otherwise.
需求

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

请参见

引用

InputComponent 类
InputComponent 成员

Send Feedback