Well, once again we have covered a lot of ground. We discussed how VB 6.0 permits us to build reusable database components by looking at the data binding capabilities. In order to permit our control to communicate back to the host form, we reviewed declaring and raising events. Events permit our ActiveX control to actually raise any event within the host whenever needed. Of course, like every event for every control, the programmer can choose to ignore the event.
While concentrating on controls, we tapped into the Ambient properties to read the
Name property to determine which instance of the control our code was operating on. We put a finishing touch on the control by adding customized property pages. Finally, we built an ActiveX control that was embedded in the new data repeater control.