|
|
|
SftMask.PrevControl Method |
Moves the input focus to the previous control.
Syntax
VB.NET |
object.PrevControl() |
||
VB |
object.PrevControl |
||
C#.NET |
void object.PrevControl(); |
||
VC++ |
HRESULT object->PrevControl(); |
||
C |
HRESULT object->raw_PrevControl(); |
||
Delphi |
procedure object.PrevControl(); |
object
A SftMask object.
Comments
The PrevControl method moves the input focus to the previous control.
The NextControl and PrevControl methods can be used to simulate the Tab (or Shift+Tab) key under program control. PrevControl will move the input focus to the previous control on the current form.
PrevControl is mainly intended for use with Visual Basic. Other development environments may use the Windows API GetNextDlgTabItem instead. Depending on your development environment, this method may not function correctly. This is the result of the development tool not supporting the necessary interfaces. Some development environments offer similar functionality using other methods (such as GetNextDlgTabItem), which are documented in the development tools documentation.