ComponentOne True DBInput Pro 8.0
CtrlEffect Property (TDBContainer3D)

The CtrlEffect property determines a single 3D effect for the container control. The built-in "Raised" effect will be set by default. The 3D effects can be applied with the Effect object using an index number, key name or an object.

Syntax

control.CtrlEffect= variant

Read/Write at run time and design time.

Remarks

You can remove the 3D effect for the container control by setting the CtrlEffect property to Null or applying the built-in "Flat" effect.

If you remove the current applied Effect object from the EffectsCollection, this property will be automatically set to Null, removing the 3D display also.

A standalone Effect object cannot be applied to the CtrlEffect property 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 reference by index number, key name or an object.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback