SftMask/OCX 6.5

SftMask.NextControl Method

Softel vdm, Inc.

Advances the input focus to the next control.

Syntax       

VB.NET

object.NextControl()

VB

object.NextControl

C#.NET

void object.NextControl();

VC++

HRESULT object->NextControl();

C

HRESULT object->raw_NextControl();

Delphi

procedure object.NextControl();

object

A SftMask object.

Comments

The NextControl method advances the input focus to the next control.

The NextControl and PrevControl methods can be used to simulate the Tab (or Shift+Tab) key under program control. NextControl will advance the input focus to the next control on the current form.

NextControl 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 tool’s documentation.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com