PC SOFT

WINDEV的在线文档

  • Overview
  • How do I proceed?
  • Notes
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
The Special paste command is used to explicitly choose the format in which the content of the clipboard must be pasted in the window editor.

For example, if you copy a data file found int the analysis, the Special Paste command enables you to:

  • Create a table displaying the records found in the copied data file.
  • Copy the name of the data file into a Static control.
  • Display the graphic representation of the data file in an Image control and create a Bitmap file (".BMP" extension).

How do I proceed?
To use the Special Paste command:
  1. Select the element to paste.
  2. Copy the element to paste ("Edit .. Copy" or [Ctrl]+[C]).Copy the element to paste:
    • in WinDev: on the "首页" pane, in the "编辑" group, click "复制".
    • "Edit .. Copy" in the software used.
    • [Ctrl]+[C].
  3. Display the window where the element must be pasted.
  4. Select "Edit .. Special paste".On the "首页" pane, in the "编辑" group, click "粘贴" and select "Special paste".
  5. Select the format in which the copied element must be pasted (see below).
  6. Validate the paste operation.

Notes
The different formats proposed by WinDev for the special paste are:
  • Windows file: One or more files have been copied into the clipboard. If this option is selected, one or more controls will be created in the current window. The type of the created controls depends on the type of the copied files.
    For example, if an image file is copied from the explorer, an Image control displaying the image will be created in the current window. The Image control is associated with the copied image file (source path).
  • Analysis file or item: One or more data files or items found int he analysis have been copied into the clipboard. If this option is selected, one or more controls will be created in the current window.
    For example, if the description of the "Customer" data file is copied, a table listing the customers will be created in the current window.
  • Group of WinDev objects: One or more WinDev elements (query, control, ...) have been copied into the clipboard. If this option is selected, one or more controls will be created in the current window.
    For example, if a button found in the WinDev dictionary is copied, this button will be created in the current window.
  • Image: One or more images have been copied into the clipboard. If this option is selected:
    • One or more controls will be created in the current window. These controls will display the copied images. The copied images will not be automatically associated with the color palette.
    • One or more bitmap files (".BMP" extension) will be created. A file picker is used to specify the name and path of the file.
      For example, if an image displayed in an image processing software ("Photoshop" for example) is copied:
      - an Image control displaying the copied image will be created in the current window,
      - a Bitmap file (".BMP" extension) will be created. A file picker is used to specify the name and path of the file.
  • Image with palette: One or more images have been copied into the clipboard. If this option is selected:
    • One or more controls will be created in the current window. These controls will display the copied images. The copied images will be automatically associated with the color palette.
    • One or more bitmap files (".BMP" extension) will be created. A file picker is used to specify the name and path of the file.
      For example, if an image displayed in an image processing software ("Photoshop" for example) is copied:
      - an Image control displaying the copied image will be created in the current window,
      - a Bitmap file (".BMP" extension) will be created. A file picker is used to specify the name and path of the file.
  • Image (improved metafile): One or more images have been copied into the clipboard. If this option is selected:
    • One or more controls will be created in the current window.
    • One or more metafile files (".EMF" extension) will be created. A file picker is used to specify the name and path of the file.
      For example, if an image displayed in an image processing software ("Visio" for example) is copied:
      - an Image control displaying the copied image will be created in the current window,
      - a metafile file (".EMF" extension) will be created. A file picker is used to specify the name and path of the file.
  • Text: A text was copied into the clipboard. If this option is selected, a multi-line Static control will be created in the current window. This control will display the copied text without formatting.
    For example, if a text entered in Word was copied, a multi-line Static control will be created in the current window. This control will display the copied text without formatting.
  • Text in RTF format: A formatted text was copied into the clipboard. If this option is selected, a multi-line Static control in RTF format will be created in the current window. This control will display the copied text with formatting.
    For example, if text entered in bold and red in Word was copied, a multi-line Static control in RTF format will be created in the current window. This control will display the copied text with formatting (bold and red).
  • Selection of the window editor: One or more elements found in the window editor (edit control, button, window, ...) have been copied into the clipboard. If this option is selected, the copied elements will be created in the window editor.
    For example, if a selection of controls was copied, these selected controls will be created in the current window.
    Note: This option corresponds to a standard "copy/paste" of controls.