PC SOFT

WINDEV的在线文档

  • Overview
  • How to proceed?
  • Defining a border in the editor
  • Defining a border in the description window
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Overview
One of the most important elements of the control style is its border. Several settings are available:
  • rounded corners,
  • thickness of the border,
  • ...
The report editor allows you to easily define borders, in the editor directly or via the description window of controls.The report editor and the window editor allow you to easily define borders, in the editor directly or via the description window of controls.

The formatting of custom borders is available:
  • in the report editor for all types of controls and for the blocks.
  • 20版本和更高版本
    WinDev in the window editor for the Static controls and Image controls.
    20新版本
    WinDev in the window editor for the Static controls and Image controls.
    WinDev in the window editor for the Static controls and Image controls.

How to proceed?

Defining a border in the editor

To define the options of a border in the editor:
  1. Select the requested control.
  2. Press the [ALT] key on the keyboard. The pictoappears in the top right corner of the control.
  3. Keep the [ALT] key down and click the picto. The configuration options are displayed:
  4. You have the ability to configure:
    • the rounding. The "Rounding" area is used to define the size of the rounding as well as the corner onto which it will be applied.
    • the thickness, the color and the type of border, as well as the side onto which it will be applied.
  5. To validate, click anywhere in the editor.
To configure the rounding, you have the ability to:
  • Select the corners to take into account by clicking the "Rounding" square or by selecting the orange dots corresponding to the corners in the control (several corners can be selected via the CTRL key).
  • Configure the shape of the rounding by modifying the width and height or by moving the orange dot in the editor.
Note: When the rounding is defined for a corner, the configuration can be applied to one of the other corners via the "Apply to..." button.

To configure the edge, you have the ability to:

  • Select the lines to take into account by clicking the "Thickness" square or by selecting the control sides directly (several sides can be selected via the CTRL key).
  • Configure the characteristics of the line: by selecting the thickness, the color and the type of line.
Note: The configuration of a side can be applied to one of the other sides via the "Apply to..." button.

Defining a border in the description window

To define the options of a border in the description window of the control:
  1. Select the requested control.
  2. Display the description window ("Description" from the popup menu).
  3. Display the "Style" tab.
    • 20版本和更高版本
      In the window editor, select the "Outside border" element. In the "Border" area, select "Custom" and click the arrow. The border editor appears.
      20新版本
      In the window editor, select the "Outside border" element. In the "Border" area, select "Custom" and click the arrow. The border editor appears.
      In the window editor, select the "Outside border" element. In the "Border" area, select "Custom" and click the arrow. The border editor appears.
    • In the report editor, select the "Border" element.
  4. You have the ability to configure:
    • the rounding in the preview area directly or in the "Rounding" area.
    • the style of the border.
      Description window in the report editor
      Description window in the report editor
  5. Validate the description window.

To configure the rounding, you have the ability to:

  • Select the corners to take into account by clicking the "Rounding" square or by selecting the orange dots corresponding to the corners in the preview (several corners can be selected via the CTRL key).
  • Configure the shape of the rounding by modifying the width and height in the "Rounding" area or by moving the orange dot in the preview.
Note: When the rounding is defined for a corner, the configuration can be applied to one of the other corners via the "Apply to..." button.

To configure the edge, you have the ability to:

  • Select the edges to take into account by clicking the "Border style" square or by selecting the control sides in the preview (several sides can be selected via the CTRL key).
  • Configure the characteristics of the border by selecting the thickness, the color and the type of line.
Note: The configuration of a side can be applied to one of the other sides via the "Apply to..." button.