VB6 beginners tutorial - Learn VB6

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

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 | About Us | Privacy Policy | Contact Us

Copyright © | All Rights Reserved