ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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:
veBlueShadeA blue shade is displayed on the control or on the group of controls.
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).
veNoneNo 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:
veBlueShadeA blue shade is displayed on the control or on the group of controls.
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).
veNoneNo 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.
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/01/2024

Send a report | Local help