Freetutes.com

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering

You are here: Visual Basic > Advanced VB6 tutorial > Chapter 13

Sponsored Links

Comparison of the Ambient and Extender Objects

 
Since it's easy to confuse purpose and function of the Ambient and Extender objects and their respective properties, here is a head-to-head comparison of the two objects:

  • The Ambient object gives information about your UserControl's container object (such as a Form or a Frame or PictureBox control) at runtime and, in some cases, about the relation between your UserControl and its container.

  • The Extender object implements properties that come "for free" with your ActiveX control: That is, properties that are part of the default arsenal of any control and that you, therefore, didn't have to implement as custom properties of the control. Such properties would include Font, Top, Height, and others.

 

<< Previous | Contents | Next >>

 

 

Home | Link to Us | Partner Links | About Us | Contact Us
Copyright © 2007-2008 Freetutes.com | All Rights Reserved