PC SOFT

WINDEV的在线文档

  • Overview
  • Description window of the window controls
  • Displaying the description window of a control
  • Characteristics by tab
  • Using the modifier
  • Overview
  • Viewing and/or modifying the characteristics of one or more controls with the modifier
  • Modifying the caption of a control
  • Modifying the name of a control
  • Modifying the position and the dimensions of a control
  • Modifying the image associated with a control
  • Changing the image associated with a control
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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本地访问

Modifying the characteristics of the window controls

Description window of the window controls

Displaying the description window of a control

To display the description window of a control:
  • double-click the control.
  • select "Description" from the popup menu of the control (right mouse click).
  • select the control and press [Alt]+[Enter].
  • select "Display .. Options .. Modify the options" ([F12] key), select the control and click the "Edit" button.
  • select the control and select "Display .. Description of the selection".

For example, description window of a button:

Notes:

  • The description window can be displayed for a selection of controls. Only the characteristics common to the selected controls will be displayed.
  • Several description windows can be displayed at the same time. Each description window displays the characteristics of one or more controls.

Characteristics by tab

The description window groups the characteristics of the selected controls by tab:
TabCharacteristics
GeneralUsed to specify the name of the control and the display characteristics of the control. For example:
  • the caption of the control (this caption can be multilingual).
  • the type of information displayed in the control (text, numeric, ...).
  • the input mask used for the control (this mask can be a multilingual mask). See Different input masks for more details.
  • the image displayed in an Image control, the captions of the options found in a radio button, the controls found in a toolbar, etc. See the online help about this control for more details.
GUIUsed to define:
  • the initial status of the control when opening the window.
  • the parameters of the control (accessible by Tab, ...).
  • the action of a right click on the control.
  • the mouse cursor when hovering a control.
  • the popup menu associated with the control. See Popup menu for more details.
  • the shortcut of the control.
  • the size of the control.
  • the position of the control in the window.
  • the anchor of the control. See 锚定 for more details.
  • the window plane to which the control belongs. See Window plane for more details.
  • the group of controls to which the control belongs. See Group of controls for more details.
DetailsUsed to define the advanced parameters of the control:
  • the action of Drag and Drop for this control. See Managing Drag and Drop for more details.
  • the use of the automatic validation (for the buttons). See Automatic validation of a window for more details.
  • the input parameters for the edit controls.
  • the parameters specific to the list boxes, combo boxes, tables, ...
These advanced parameters are grouped into several categories:
  • the parameters that modify the appearance of the control (parameters on beige background).
  • the parameters that modify the operating mode and the input in the control (parameters on green background).
  • the parameters related to the return value of the control (parameters on blue background).
LinkAllows you yo select the item (found in a file or in a query) to which the control is linked. Depending on the current record, the content of the linked item will be displayed in the control.
ContentUsed to define:
  • the initial content of the control (for the edit controls only).
  • the data source used to fill the control (for the list boxes, combo boxes and tables only).
NoteUsed to describe the detailed operating mode of the control.This information will be printed in the program documentation ("File .. Print the documentation").This informations will be printed in the program documentation (on the "首页" pane, in the "常规" group).
HelpUsed to associate help pages with the control. See Helping the user for more details.
StyleUsed to:
  • apply a preset style to the control.
  • modify or create a preset style for the type of control.
  • modify the appearance of the control (background color, border, font, ...).

Note: See the online help about the description window for more details ().

Using the modifier

Overview

The modifier allows you to view and/or modify from the window editor the main characteristics:
  • of the selected controls.
  • of the selected window.
See the Modifier for more details.

Viewing and/or modifying the characteristics of one or more controls with the modifier

To view and/or modify the characteristics of one or more controls with the modifier:
  1. Select the controls to modify:
    • in the window directly (see Selecting one or more controls).
    • via the drop-down list of the modifier. In this case, a single control can be selected at a time. The handles of the selected control are automatically displayed.
      If several controls are selected, only the information common to the selected controls is displayed in the modifier.
  2. Perform the necessary modifications. These modifications are performed on all the controls. You can:
    • select the new value in a drop-down list.
    • select the new value in a screen (color modification for example).
    • modify the value directly.

Modifying the caption of a control
To modify the caption of a control in the window currently created:
  1. Select the control to modify.
  2. Click the control again or press the [Enter] key. The mouse cursor turns into an edit cursor.
  3. Type the new caption of the control.
  4. Validate the input by pressing the [Enter] key.
Notes:
  • The directly edit of the captions performs the spell check, allows the RTF input as well as the input in a non-Western character set.
  • 17版本和更高版本
    Similarly, you have the ability to modify the caption of a table column.
    17新版本
    Similarly, you have the ability to modify the caption of a table column.
    Similarly, you have the ability to modify the caption of a table column.

Modifying the name of a control
The name of a control can be modified from the message bar of the window editor.

To modify the name of a control:

  1. Select the control to modify.
  2. Enter the new name of the control in the status bar directly.

Modifying the position and the dimensions of a control
The position and/or the dimensions of a control can be modified from the status bar of the window editor.

To modify the position and/or the dimensions of a control:

  1. Select the control to modify.
  2. Enter the new position and/or dimensions of the control directly in the status bar.

Modifying the image associated with a control

Changing the image associated with a control

The image associated with an Image control or with a button can be changed in the window currently created.

To modify the image associated with a control in the window currently created:

  1. Select the control to modify.
  2. Select "Edit .. Select an image" (or [Ctrl]+[Shift]+[P]). A file picker is opened.Press [Ctrl]+[Shift]+[P]. A file picker is opened.
  3. Select the image file to associate with the current control and validate.
Note: To edit the image in the appropriate software:
  1. Select the control associated with an image.
  2. Select "Edit .. Edit the image".