PC SOFT

WINDEV的在线文档

  • Overview
  • Selection mode
  • Selection mode
  • Display mode
  • Display mode (vertical Looper control)
  • Resizing the cells of a Looper control
  • Input parameters and scrollbar display
  • Input parameters
  • Scrollbar
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
To display the characteristics of the control, select "Description" from the popup menu of the control. In a window, the attributes not being proposed by default, only the characteristics of the Looper control will be displayed.

The main characteristics of the control are grouped in the following tabs:

  • The "General" tab displays the list of controls found in the Looper control.
  • The "GUI" tab is used to select the initial status, the selection mode, the popup menu, ...
  • The "Details" tab is used to select the display mode of the control, the input parameters and the scrollbar parameters.
  • The "Content" tab is used to define the mode for filling the control and the breaks.
  • The "Style" tab is used to define the style of the different control elements.

Selection mode

Selection mode

The following selection modes are proposed in a Looper control:
  • No selection: The selection bar is not displayed on the selected row. However, the "Row selection" process in run when selecting the repetition (row).
  • Single selection: The selection bar is displayed on the selected repetition (row). The "Row selection" process is run.
  • Multi-selection: The selection bar is displayed on the selected repetitions (rows). To select several repetitions (rows), all you have to do is keep the SHIFT or CTRL key down. The "Row selection" process is run whenever a repetition (row) is selected.
  • WinDev Multi-selection via simple click: This option is used to perform a multi-selection with the mouse. If this option is selected, all you have to do is click a row in order for this row to be added to the multi-selection or removed from the multi-selection.

Display mode

Display mode (vertical Looper control)

Several display modes are available:

  • Variable column width. All you have to do is specify the number of columns to display. The width of each column will evolve according to the width of the window.
    The width of each column will be modified proportionally when the width of the window is modified by the user.
    Windows Store apps This option is not available.
  • Variable number of columns. All you have to do is specify the width of columns. This width will be used for each one of the columns found in the Looper control. The number of columns will evolve according to the width of the window.
    The number of columns will change when the width of the window is modified by the user.
    Windows Store apps This option is not available.
  • Fixed width and number of columns: All you have to do is specify the number of columns to display and the width of columns.
    Only the width of the Looper control will be modified when the width of the window is modified. Neither the number of columns nor the width of columns will be modified.
Windows Store apps You cannot select a specific display mode: the Looper controls display a single column.

18版本和更高版本
WinDev Display mode (horizontal Looper control) ("Details" tab of the description window)

Several display modes are available:

  • Variable row height. All you have to do is specify the number of rows to display. The height of each row will evolve according to the height of the window.
    The height of each row will change proportionally when the height of the window is modified by the user.
  • Variable number of rows. All you have to do is specify the height of the rows. This height will be used for each one of the rows found in the Looper control. The number of rows will evolve according to the height of the window.
    The number of rows will change when the height of the window is modified by the user.
  • Fixed height and number of rows: All you have to do is specify the number of rows to display and the height of the rows.
    Only the height of the Looper control will be modified when the height of the window is modified. The number of rows and the height of rows will not be modified.
Limitation: the breaks cannot be used in an horizontal Looper control.
18新版本
WinDev Display mode (horizontal Looper control) ("Details" tab of the description window)

Several display modes are available:

  • Variable row height. All you have to do is specify the number of rows to display. The height of each row will evolve according to the height of the window.
    The height of each row will change proportionally when the height of the window is modified by the user.
  • Variable number of rows. All you have to do is specify the height of the rows. This height will be used for each one of the rows found in the Looper control. The number of rows will evolve according to the height of the window.
    The number of rows will change when the height of the window is modified by the user.
  • Fixed height and number of rows: All you have to do is specify the number of rows to display and the height of the rows.
    Only the height of the Looper control will be modified when the height of the window is modified. The number of rows and the height of rows will not be modified.
Limitation: the breaks cannot be used in an horizontal Looper control.
WinDev Display mode (horizontal Looper control) ("Details" tab of the description window)

Several display modes are available:

  • Variable row height. All you have to do is specify the number of rows to display. The height of each row will evolve according to the height of the window.
    The height of each row will change proportionally when the height of the window is modified by the user.
  • Variable number of rows. All you have to do is specify the height of the rows. This height will be used for each one of the rows found in the Looper control. The number of rows will evolve according to the height of the window.
    The number of rows will change when the height of the window is modified by the user.
  • Fixed height and number of rows: All you have to do is specify the number of rows to display and the height of the rows.
    Only the height of the Looper control will be modified when the height of the window is modified. The number of rows and the height of rows will not be modified.
Limitation: the breaks cannot be used in an horizontal Looper control.

Resizing the cells of a Looper control

You can allow the user to resize the cells found in a Looper control. To do so, check the following options in the "Details" tab of the control description:
  • "Height of rows resizable".
  • "Width of columns resizable".
You can allow the user to resize the cells found in a Looper control. In the "Details" tab of the control description, all you have to do is check "Resizable" found in front of the following options:
  • "Row height".
  • "Column width".
Note: The default height of a row can be specified.

Input parameters and scrollbar display

Input parameters

The input parameters are used to specify the behavior of browsing Looper controls in edit. The possible options are as follows:
  • Cascading input: Pressing the Enter key in an edit control is used to automatically perform an input in a new row.
    Windows Store apps This option is not available.
  • Lock the record in modification: When modifying a row, the corresponding record in the data file will be automatically locked until the modification is validated.
  • Save during row exit: The record currently modified or created will be automatically saved in the corresponding data file as soon as the row is no longer selected. If this option is not selected, the backup of the record must be programmed with 重复区域保存.

Scrollbar

The display of the horizontal/vertical scrollbar can be:
  • automatic: the scrollbar will be displayed when necessary.
  • always visible: the scrollbar will always be displayed.
  • never visible: the scrollbar will never be displayed.
A tooltip can be displayed on the vertical scrollbar. This tooltip displays the number of the current row in relation to the total number of rows.
Windows Store apps This option is not available.

The move of the scrollbar can be done:
  • to the pixel: a row may not be entirely displayed according to the position of the scrollbar.
  • with the finger: used to handle the scrollbar via a touch screen.