Data BindingBehavior Property VB 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 & Gotchas

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

See Also

DataBinding Object, Chapter 4

DataBindingBehavior Property (VB6 only) 193

Was this article helpful?

0 0

Post a comment