Copyright © 1998-2010 MultiMedia Soft

FocusMode property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumFocusModes for Visual Basic

 

 

Syntax

object.FocusMode [=enumFocusModes]

 

 

Remarks

Determines how the control renders its surface when it receives the input focus.

Supported values are the following:

Mnemonic constant

Value

Meaning

FOCUS_NONE

0 (default)

The control does not changes its look when it receives the input focus.

FOCUS_BORDER

1

After receiving the input focus, the control draws a black dashed border around the caption text.

FOCUS_COLOR

2

After receiving the input focus, the control renders its surface using the color defined at run-time through the ColorSurfaceFocus property or at design-time through the "Color" tab of the 3D Button Visual Editor application.

 

This property can be accessed at design-time using the "Others" tab of the 3D Button Visual Editor application.