DataBindingBehavior Property (VB6 only)

Description

This property is one of the new VB6 class properties, and determines the behavior of the class when it's bound to an external data source. That is, the class is to act as a Data Consumer. This property is available only at design time.

Values

vbNone

The class can't be bound to external data sources.

vbSimpleBound

The class can be bound to a single data field in an external data source.

vbComplexBound

The class can be bound to a row of data in an external data source.

Programming Tips and Gotchas

When the property is set to vbSimpleBound, two procedures—the PropertyChanged event and the CanPropertyChange method—are automatically added to the class module.

See Also

DataBinding Object, Chapter 4

Get VB & VBA in a Nutshell: The Language now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.