Visual Basic Reference

Visual Studio 6.0

TargetObject Property

See Also    Example    Applies To

Returns the bound object, or another object as determined by the bound control. Read-only at run time.

Syntax

object.TargetObject

The object is an object expression that evaluates to an object in the Applies To list.

Remarks

The TargetObject property provides access in the Format and Unformat events to the bound control's properties, methods, and events. If the bound control passes an object other than the control itself, you can use its properties, methods, and events to manipulate data or navigate up the hierarchy to other objects in the control's object model.

Show: