Gets or sets whether to retain focus when the tab key is used.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property AcceptTabs As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As Vt
Dim value As Boolean
instance.AcceptTabs = value
value = instance.AcceptTabs |
| C# | |
|---|
public bool AcceptTabs {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_AcceptTabs();
public: __property void set_AcceptTabs(
bool value
); |
| C++/CLI | |
|---|
public:
property bool AcceptTabs {
bool get();
void set ( bool value);
} |
Property Value
true if the Vt control should retain focus when the tab key is pressed; false if the tab key should cause the focus to shift to the next control in the tab index. The default value is true.
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also