PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Overview
  • How to?
  • Copying the style of a control in a window or in a page
  • Copying the style of a control in a report
  • Notes
  • Style of a control taken into account for the style copy
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
Copying the style of a control
Overview
Copying the style of a control consists in copying the characteristics of a control style into another control. Only the control style is copied (not its content).
This copy can be performed between:
  • Two controls of the same type.
  • Two controls of different types. In this case, only the style characteristics common to the two controls are copied.
The style copy can be performed between two controls belonging to the same window (to the same page or to the same report) or between two controls belonging to different windows (to different pages or to different reports).
How to?

Copying the style of a control in a window or in a page

To copy a style between two controls:
  1. Select the control containing the style to copy.
  2. On the "Window" pane, in the "Style and skin templates" group, click "Copy the style" (Ctrl + Shift + C).
    The mouse cursor turns into brush:
  3. Select the control to which the style must be copied. The type of this control can differ from the type of the control whose style is copied.
Remark: To apply the style of a control to several controls, keep the Ctrl down when copying the style onto the destination controls.

Copying the style of a control in a report

To copy a style between two controls:
  1. Select the control containing the style to copy.
  2. On the "Modification" pane, in the "Quick edit" group, click , Ctrl + Shift + C).
    The mouse cursor turns into brush:
  3. Select the control to which the style must be copied. The type of this control can differ from the type of the control whose style is copied.
Remark: To apply the style of a control to several controls, keep the Ctrl down when copying the style onto the destination controls.
Notes

Style of a control taken into account for the style copy

The style of a control corresponds to the characteristics specified in the "Style" tab of the control description window.
The images displayed in the controls (background image of a button for instance) are not copied along with the control style. The path of the image must be specified in the description of the controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Problems with this feature!
This functionality has always been causing problems on Webdev from version 22 to 25. When I was working on 22 I was hopping that in the future versions this functionality would be repair, but this has not happened yet.

The error that often comes after doing this process is:
"An unexpected system error has been detected in the process of the page '$$PageSupportStyleRuban$$'.
If the problem persist please send the project to PCSOFT Technical Support."

So I did once but they did not solve anything then or in 25 version.
Angel
28 Nov. 2020