PC SOFT

WINDEV的在线文档

  • Overview
  • Customization
  • Background color for the even rows and for the odd rows
  • Image of selection bar and image of rollover bar
  • Image of scrollbars
  • Image of the Table control borders
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系: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
In a Table control, you can customize the following elements:Note: Customizing these elements allows you to apply a "Vista" style to the computers that do not run Windows Vista. The skin templates supplied with WinDev contain examples of reusable and modifiable images.

Customization

Background color for the even rows and for the odd rows

You can differentiate the rows in a Table control by specifying a different color for the even rows and for the odd rows.

To specify the background color of the rows:

  1. Display the "Style" tab in the description window of the Table control ("Description" from the popup menu).
  2. Select the "Colors of even rows" or "Colors of odd rows" element.
  3. Select the background color to use ("Background color" combo box).

Image of selection bar and image of rollover bar

An image can be used to easily view the selected row and the hovered row.

To use an image for the selection bar and for the rollover bar:

  1. Display the "Style" tab in the description window of the table ("Description" from the popup menu).
  2. Select the "Selected row" or "Hovered row" element.
  3. Open the "Border" combo box and select "Image (9-image mode)".
  4. Click the "Right arrow" button found to the right of the "Border" combo box. A window for configuring the image of the bar is opened.
  5. Select the image to use. This image can be selected in the image catalog.
  6. If the selected image contains several states, specify this number of states.
  7. Close the window for configuring the image of the bar.
Note: You have the ability to display the selection bar on some table columns only. See Characteristics of table columns for more details.

WinDev

Image of scrollbars

An image can be used to represent the vertical scrollbar and the horizontal scrollbar.

To use an image for the scrollbars:

  1. Display the "Style" tab in the description window of the table ("Description" from the popup menu).
  2. Select the "Scrollbar" element.
  3. Open the "Border" combo box and select "Image (9-image mode)".
  4. Click the "Right arrow" button found to the right of the "Border" combo box. A window for configuring the image of the scrollbars is opened.
  5. Select the images to use. These images can be selected in the image catalog. These images must respect the following format:
    • Vertical scrollbar: Size of the image: 60 x 128 pixels.
    • Horizontal scrollbar: Size of the image: 384 x 47 pixels.
  6. Close the window for configuring the image of the scrollbars.

WinDev

Image of the Table control borders

A specific image can be used for the borders of the Table control.

To use an image for the borders of the Table control:

  1. Display the "Style" tab in the description window of the control ("Description" from the popup menu).
  2. Select the "Outside border" or "Inside border" element.
  3. Open the "Border" combo box and select "Image (9-image mode)".
  4. Click the "Right arrow" button found to the right of the "Border" combo box. A window for configuring the image of the border is opened.
  5. Select the image to use. This image can be selected in the image catalog. To increase the thickness of the border, all you have to do is increase its overflow.
  6. If the selected image contains several states, specify this number of states.
  7. Close the window for configuring the image of the border.