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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.