WIN32 I Steering tables

The attribute for the table steering contains the parameters Action, Value, Column and Row.

Table

The optical character recognition (OCR) can be used to read out table contents. The OCR components are described in detail in chapter "WIN32 I OCR components".

If the hardware acceleration of the display driver is enabled under Windows XP, you may encounter problems when steering tables. The hardware acceleration can be disabled by setting the value of the Hardware acceleration to None via the Control Panel: Appearance and Themes->Display->Settings->Advanced -> Troubleshoot -> Hardware acceleration.

Recognizing tables via color values

Win32 tables are recognized via color values. A distinction is made between tables with and without any headers. Steering via header is enabled by default. If steering should be performed without the header, it must be disabled.

For this purpose, the parameter HasHeader with the value False can be manually created in the ObjectMap of the table module.

On the left: table with header and selected cell, on the right: table without header

To be able to steer the table, the color values that have been specified in the Settings dialog are now used (see table "Settings - Win32") if no module parameters were created for these settings.

Defining color values via Module parameters

The color values specified in the Settings dialog can be overwritten with Module parameters. Any settings under Wizard->Win32->GenericTable can be overwritten. Parameters can be named as defined in the Settings dialog and must follow specific rules. Categories need to be specified since all settings are contained in both categories (rows or header).

<Category>.<Setting>

rows.LineColor

This parameter changes the line color for rows.

Example

Multiselect

The table steering offers the possibility to select a line according to multiple values. These values are separated by semicolons. The row Column defines the column to be steered.

If the definitions of the columns are made using the pipe I, the steering works across all rows. If multiple pipe-signs exist in one string, clicking is conducted from bottom to the top.

Syntax:

<Columnname1>=<Value1>;<Columnname2>=<Value2>I
<Columnname3>=<Value3>;<Columnname4>=<Value4>

TextAction Mode: Click

Column: Header2

Value: Header1=Value1;Header2=Value2I

Header1=Value3;Header2=Value2

In this example a row is searched for, which contains the value Value1 in the column Header1 and Value2 in the column Header2. A row is searched for additionally with the value Value3 in the column Header1 and the value Value2 in the column Header2. If the rows are found, the valid last row is clicked in the columnHeader2.