|
|
|
|
|
VisualEffect (Property) In french: EffetVisuel
The VisualEffect property allows you to apply a visual effect on a control or group of controls in a window. You can: - Determine the visual effect used for a control or group of controls.
- Change the visual effect used for a control or group of controls.
// Modify the visual effect used GR_MyGroup.VisualEffect = veBlueShade PROGBAR_Silver.VisualEffect = veNone BTN_OKButton.VisualEffect = veDdw
Syntax
Finding out the visual effect used Hide the details
<Result> = <Control used>.VisualEffect
<Result>: Integer constant Type of visual effect currently used by the control:
| | veBlueShade | A blue shade is displayed on the control or on the group of controls. | veDdw | The control or the group of controls is grayed out: the visual effect is identical to the one used by the DDW feature (Dim Disabled Windows). | veNone | No specific visual effect is applied to the control or to the group of controls. The display corresponds to a standard display. |
<Control used>: Control name Name of control or group of controls to use.
Changing the visual effect used Hide the details
<Control used>.VisualEffect = <New visual effect>
<Control used>: Control name Name of control or group of controls to use. <New visual effect>: Integer constant New visual effect to apply to the control:
| | veBlueShade | A blue shade is displayed on the control or on the group of controls. | veDdw | The control or the group of controls is grayed out: the visual effect is identical to the one used by the DDW feature (Dim Disabled Windows). | veNone | No specific visual effect is applied to the control or to the group of controls. The display corresponds to a standard display. |
Remarks Limitations This property is not available for the following types of controls: - OLE control,
- ActiveX control,
- HTML control,
- WebCamera control,
- Stream control,
- Splitter control,
- Chart control,
- Xaml control,
- Carousel control,
- Cube control,
- Video control.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|