|
-
Jan 12th, 2000, 01:10 AM
#1
Thread Starter
Junior Member
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?
-
Jan 13th, 2000, 09:41 PM
#2
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|