Reference > Child Object > Child Object Properties > Effect Property (Child) |
Effect Property (Child)
Sets/returns an Effect object for a child control.
object.Effect= variant
Read/Write at run time and design time.
This property determines a 3D effect for a child control specified with the Name property. The 3D effects can be applied with the Effect object property using an index number, key name, or an object.
You can remove the 3D effect by setting the Effect object property to Null.
If removing the current applied Effect object from the EffectsCollection, this property will be automatically set to Null, removing the 3D display also.
When creating a standalone Child object, an Effect object cannot be applied using the index number or the key name. It must be applied as an object, since the object is not part of any collection. To avoid this, you can first add the independent object to the collection using the AddObj method, then referencing by index number, key name or an object.
See Also