SetTabStop method


Available for all Control objects, except Static, Group, Image, ToolBar, StatusBar and ProgressBar.

Prototype

SetTabStop Proto hWnd:HWND, bTabStop:BOOL

Syntax

Invoke SetTabStop, hWnd, bTabStop

Function

Sets the TabStop property for an object.

Parameters

hWnd

Handle to the object.

bTabStop

A BOOL value specifying the new tab stop state for the object.

Return value

Eax/Rax returns TRUE if successful, or FALSE if not.


REMARKS: Static, Group, Image, ToolBar, StatusBar and ProgressBar objects never get the focus, while Picture objects only get it if its TabStop property is set to TRUE.