PC SOFT

WINDEV的在线文档

  • Overview
  • How to proceed?
  • 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
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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 style of the control 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 proceed?

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

To perform a style copy between two controls:
  1. Select the control containing the style to copy.
  2. Click(or select "Edit .. Reproduce the style", [Ctrl]+[Shift]+[C]).
    The mouse cursor turns into brush:
    On the "窗口" pane, in the "样式和皮肤模板" group, click "复制样式" ([Ctrl]+[Shift]+[C]).
    The mouse cursor turns into brush:
  3. Select the control into which the style must be copied. The type of this control can differ from the type of the control whose style is copied.
Note: 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 perform a style copy between two controls:
  1. Select the control containing the style to copy.
  2. Click(or select "Edit .. Reproduce the style" ([Ctrl]+[Shift]+[C]).
    The mouse cursor turns into brush:
    On the "修改" pane, in the "快速编辑" group, click, [Ctrl]+[Shift]+[C]).
    The mouse cursor turns into brush:
  3. Select the control into which the style must be copied. The type of this control can differ from the type of the control whose style is copied.
Note: 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 description window of the control.
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.