PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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.
Example
// 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:
veNoneNo specific visual effect is applied to the control or to the group of controls. The display corresponds to a standard display.
veDdwThe 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).
veBlueShadeA blue shade is displayed on the control or on the group of controls.
<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:
veNoneNo specific visual effect is applied to the control or to the group of controls. The display corresponds to a standard display.
veDdwThe 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).
veBlueShadeA blue shade is displayed on the control or on the group of controls.
Remarks

Limits

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.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment