#Textlist

Top  Previous  Next

The #TextList object is used to display text files as a list within a rectangular area. The #TextList object supports ASCII,UNICODE and a Subset from HTML 3.2 und 4.

 

 

Parameters

Object

Column A, object

M/O

Default

Description

#TextList

M


Display of text files in a list

Text/File

Column B, Text/File

M/O

Default

Description

<filename>[#<anchor>]

O


Filename with on optional HTML-anchor

 

Sample:

manual.html#chapter3

➔Loads the document manual.html and scrolls to anchor chapter3.

 

Following file extensions are supported:

TXT
HTM
HTML

 

<variable>

O


The filename may be be supplied by a variable of type STRING/WSTRING.

Consider first to use VarValue!

Font

C Font column

M/O

Default

Description

<Fontname>.FNT

O

Current font

Font for displaying the text list

X, Y, DX, DY

Columns D-G

M/O

Default

Description

Integer constants

O

Autom. positioning

Position and dimension of the text list

Variable of type INT

 



Color

Column H

M/O

Default

Description

Font color

O

Current foreground color

Font color of the text list

Backcolor

Column I

M/O

Default

Description

Background color

O

Current background color

Background color of the text list

Format

Column J

M/O

Default

Description

Format

 

O

No frame

Format to display the text list except for Border=Shadow

Border=Standard

O


Standard Qt-Border

VarValue

Column P

M/O

Default

Description

<variable>

O


Numerical variable:

The variable stores the position of the vertical scroll bar. This causes the text to be displayed at the same position the next time the operator opens this screen page.

 

String variable:

The file name of the file to be displayed is transferred in the variable.

 

The variable may contain the filename including an optional HTML-anchor, or a bare anchore.

 

Icon-HinweisDocument navigation by #Button-Action

Navigation can be realized via hyperlinks. But sometimes it may be useful to control the document from outside the #TextList, e.g. by #Button-Action.

 

Sample:

SetVar=manual.html

➔ Loads manual.html and displays from the start.

 

SetVar=manual.html#index

➔ Loads manual.html and scrolls to anchor index.

 

SetVar=#chapter3

➔ Scroll current document to anchor #chapter3.

 

VarType

Column Q

M/O

Default

Description

STRING

WSTRING

INT

UINT

WORD

O


See VarType column

VarState

Column R

M/O

Default

Description

<variable>

O


See VarState column

Option

Column S

M/O

Default

Description

DX=<width>

O

25

<width> stands for the width of the vertical scroll bar in pixels.

0 = Hide scroll bar

DY=<height>

O

25

<height> stands for the height of the horizontal scroll bar in pixels

0 = Hide scroll bar

 

Icon-Hinweis User-specific display of the scroll bar

See Qt style sheet

 

 

Difference to EPAM3

The display of CSV files is no longer supported. These can be displayed as HTML files.
The Format option is no longer necessary.