Self Sorting Table Using Text File - Parameters

The following is the complete list of parameters and features available in the fully licensed version.

Parameter Index

See also File Information.

Parameters

nFonts

The Number of Fonts.

Typical Value: "2"

Range Of Values: "0 " - "99"

Default Value: "1"

FONTx

Font definition where x is the font number e.g. FONT1, FONT2 etc...

Typical Values:

"TimesRoman|B|14"
"TimesRoman|I|12"
"Helvetica|BI|14"

Range Of Values: Type|N,B,I|size

N - Normal
B - Bold
I - Italic

Default Value: "Courier|N|12"

nColors

The Number of Colors.

Typical Value: "4"

Range Of Values: "0 " - "99"

Default Value: "2"

ColorX

Color definition where X is the color number e.g. Color1, Color2 etc...

Typical Values:

"255|255|255"
"0|0|0"
"255|0|0"
"255|128|0"

Range Of Values:

Red|Green|Blue
0-255|0-255|0-255

Default Value:

"255|255|255" (Color1)
"0|0|0" (Color2)

Title

The Main Title.

Typical Value: "This is the main title"

Range Of Values: "Any Text"

Default Value: " "

TitleFont

The number of the font for the Title.

Typical Value: "1"

Range Of Values: "1" - nFonts

Default Value: "1"

BGcolor

Background color number.

Typical Value: "1"

Range Of Values: "1" - nColors

Default Value: "1"

LNcolor

Line color number.

Typical Value: "1"

Range Of Values: "1" - nColors

Default Value: nColors

TXTcolor

Text color number.

Typical Value: "1"

Range Of Values: "1" - nColors

Default Value: nColors

TXTfont

Text font number.

Typical Value: "1"

Range Of Values: "1" - nFonts

Default Value: nFonts

Brdrwidth

Width of border.

Typical Value: "1"

Range Of Values: "1" - "99"

Default Value: "1"

Brdrcolor

Border color number.

Typical Value: "1"

Range Of Values: "1" - nColors

Default Value: nColors

nColumns

The number of columns.

Typical Value: "6"

Range Of Values: "1" - "99"

Default Value: "1"

maxRows

The number of rows to be read from the file.

Typical Value: "200"

Range Of Values: "1" - "99999"

Default Value: "1"

CellBGcolor

Background color of cells.

Typical Value: "2"

Range Of Values: "1" - nColors

Default Value: "1"

CellTXTcolor

Cell text color.

Typical Value: "3"

Range Of Values: "1" - nColors

Default Value: "1"

Cellfont

Cell text font.

Typical Value: "1"

Range Of Values: "1" - nFonts

Default Value: "1"

Colfont

Column header font.

Typical Value: "1"

Range Of Values: "1" - nFonts

Default Value: "1"

Decplaces

Number of decimal places to display totals to.

Typical Value: "2"

Range Of Values: "0" - "10"

Default Value: "0"

COLx

Column header data where x is the number of the column e.g. COL1, COL2 etc...

Typical Value: "User Name|2|150|5|2"

Range Of Values: "Title | Type | Width in pixels | Background color | Text Color"

Type = "0" for numeric value with total, "1" for numeric value without total and "2" for text.

Default Value: " "

Delimiter

The is the character that is used in the text file to seperate the data e.g. "Cell1 Data|Cell2 Data".

Typical Value: "|"

Range Of Values: Any character

Default Value: " "

FileLocation

A relative URL of the file that you want to use e.g. "FlatFile.txt" or "subdir1/.../FlatFile.txt". You can not have an absolute URL e.g. "http://www.yourdomainname.com/file.txt". There for the file can only be located in the same directory or a sub directory from the applet file.

Typical Value: "file.txt"

Range Of Values: Any file name.

Default Value: " "

File Information

Each line in the file is a row of data. You use the Delimiter character to seperate the data into the different cells. See flatfile1.txt for an example.

With a '|' delimiter character the data file will look like this:

line_break.gif (61 bytes)

2000 JPowered.com.