Results 1 to 2 of 2

Thread: Extender

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 1999
    Posts
    21

    Post

    What is this exender object ,ambient object , extender property and ambient property?
    When and why should i use it?
    How to use in my code when i deal with user controls?

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    253

    Post

    The Extender object and Ambient object are objects that every ActiveX control has.

    The Extender object contains the properties that every new ActiveX control you create gets automatically and you don't need to write Property Get/Let/Set procedures for them. Examples: Align, TabStop, Visible.
    You can use it to determine or set the values of these properties.

    Example: If Extender.Visible Then...

    The Ambient object contains several properties of the container of the ActiveX control (in most of cases it will be a form).
    You can use it to determine the values of these properties.

    Example: If Ambient.UserMode Then...

    (The UserMode property is a boolean property that tells if VB is in run-time mode or design-time mode at that moment).

    This was a short explanation. If you want to learn more about this issue, you should use a book or get some demo projects.

    Good Luck!!!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width