PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • 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 Property VisualEffect allows to manage a visual effect on an Control or a group of Control s of a window.. You can:
  • Find out the visual effect used for a control or for a group of controls.
  • Modify the visual effect used for a control or for a group of controls.
Example
// Modify the visual effect used
GR_MyGoup.VisualEffect = veBlueShade
Siver_Gauge.VisualEffect = veNone
BTN_OKButton.visual effect = 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: 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.

Modifying 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: 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