VisTblEx

PPJ.Runtime.Vis.VisTblEx

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)

Extensions

public class VisTblEx

Fields

Name
Type
Description

COL_NOCHANGE

The color will not be affected by this color entry

COL_NOT_BG

The color will the negative of the BG color

ROWDELETE_BMP

The standard SQLWindows bitmap for a marked for deletion row

ROWEDIT_BMP

The standard SQLWindows bitmap for an edited row

ROWNEW_BMP

The standard SQLWindows bitmap for a new row

TBL_BMP_BESTFIT

Bitmap should be sized to fit in the region where it is placed by scaling the width and height by the same amount

TBL_BMP_BOTTOM

Bitmap should be bottom aligned

TBL_BMP_CENTER

Bitmap should be centered horizontally

TBL_BMP_COLOR

Bitmap is a color bitmap

TBL_BMP_LEFT

Bitmap should be left aligned

TBL_BMP_MONO

Bitmap is a monochrome bitmap (better performance)

TBL_BMP_RIGHT

Bitmap should be right aligned

TBL_BMP_SCALE

Bitmap should be scaled

TBL_BMP_TOFIT

Bitmap should be sized to exactly fit in the region where it is placed

TBL_BMP_TOP

Bitmap should be top aligned

TBL_BMP_VCENTER

Bitmap should be centered vertically

TBL_FLG_BOLD

bold

TBL_FLG_DOTTEDCOLLINES

dotted col lines

TBL_FLG_DOTTEDROWLINES

dotted row lines

TBL_FLG_ITALIC

italic

TBL_FLG_NOBOLD

no bold

TBL_FLG_NOCOLLINES

no col lines

TBL_FLG_NOCOLORS

no colors

TBL_FLG_NOFONTS

no fonts

TBL_FLG_NOITALIC

no italic

TBL_FLG_NOROWLINES

no row lines

TBL_FLG_NOSTRIKEOUT

no strikeout

TBL_FLG_NOUNDERLINE

no underline

TBL_FLG_SOLIDCOLLINES

solid col lines

TBL_FLG_SOLIDROWLINES

solid row lines

TBL_FLG_STRIKEOUT

strikeout

TBL_FLG_UNDERLINE

underline

Methods

AddBitmap(table, hBitmap, nFlags, nWidth, nHeight, nTransparentColor, nInversionColor, nIndex)

Adds a bitmap to the internal list.

Parameter
Type
Description

table

hBitmap

nFlags

nWidth

nHeight

nTransparentColor

nInversionColor

Not used

nIndex

Returns: SalNumber.

AddRowBitmap(table, hBitmap, nFlags, nWidth, nHeight, nTransparentColor, nInversionColor, nRowFlags, nIndex, bReplace)

Defines the bitmap to show on the row header in combination with the row flags.

Parameter
Type
Description

table

hBitmap

nFlags

nWidth

nHeight

nTransparentColor

nInversionColor

nRowFlags

nIndex

bReplace

Returns: SalNumber.

FreeBitmap(hBitmap)

Releases the bitmap resource.

Parameter
Type
Description

hBitmap

Returns: SalBoolean.

GetCellBitmap(table, nRow, nCol)

Gets the index of the bitmap used for the cell.

Parameter
Type
Description

Returns: SalNumber.

GetCellColor(table, nRow, nCol, nForeColor, nBackColor)

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

GetCellFont(table, nRow, nCol)

Gets the font flags for a cell.

Parameter
Type
Description

Returns: SalNumber.

GetColBitmap(table, nCol)

Gets a bitmap index for a column header.

Parameter
Type
Description

Returns: SalNumber.

GetColColor(table, nCol, nForeColor, nBackColor)

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

GetColFont(table, nCol)

Gets the font flags for an entire column.

Parameter
Type
Description

Returns: SalNumber.

GetColHdrColor(table, nCol, nForeColor, nBackColor)

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

GetColHdrFont(table, nCol)

Gets the font flags for a column header.

Parameter
Type
Description

Returns: SalNumber.

GetRowColor(table, nRow, nForeColor, nBackColor)

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

GetRowFont(table, nRow)

Gets the font flags for an entire row.

Parameter
Type
Description

Returns: SalNumber.

GetRowHdrColor(table, nRow, nForeColor, nBackColor)

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

GetRowHdrFont(table, nRow)

Gets the font flags for a row header.

Parameter
Type
Description

Returns: SalNumber.

GetTableFont(table)

Gets the font flags for the table.

Parameter
Type
Description

table

Returns: SalNumber.

LoadBitmap(sFileName)

Loads a bitmap from the specified file.

Parameter
Type
Description

sFileName

Returns: SalNumber.

RemoveBitmap(table, nIndex)

Removes the specified bitmap from the internal list.

Parameter
Type
Description

table

nIndex

Returns: SalBoolean.

RemoveRowBitmap(table, nIndex)

Removes the specified row-header bitmap.

Parameter
Type
Description

table

nIndex

Returns: SalBoolean.

Reset(table)

Resets all the Vis extended settings.

Parameter
Type
Description

table

Returns: SalBoolean.

SetCellBitmap(table, nRow, nCol, nIndex)

Selected the bitmap to use for the cell.

Parameter
Type
Description

Returns: SalBoolean.

SetCellColor(table, nRow, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of an individual cell.

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

SetCellFont(table, nRow, nCol, nFlags)

Sets the font flags for a cell, can be a combination of Vis.TBL_FLG_*.

Parameter
Type
Description

Returns: SalBoolean.

SetColBitmap(table, nCol, nIndex)

Selects the bitmap to use for the column header.

Parameter
Type
Description

Returns: SalBoolean.

SetColColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of an entire column.

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

SetColFont(table, nCol, nFlags)

Sets the font flags for an entire column, can be a combination of Vis.TBL_FLG_*.

Parameter
Type
Description

Returns: SalBoolean.

SetColHdrColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of the column header.

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

SetColHdrFont(table, nCol, nFlags)

Sets the font flags for a column header, can be a combination of Vis.TBL_FLG_*.

Parameter
Type
Description

Returns: SalBoolean.

SetRowColor(table, nRow, nForeColor, nBackColor)

Sets the BG and FG colors of an entire row.

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

SetRowFont(table, nRow, nFlags)

Sets the font flags for an entire row, can be a combination of Vis.TBL_FLG_*.

Parameter
Type
Description

Returns: SalBoolean.

SetRowHdrColor(table, nRow, nForeColor, nBackColor)

Sets the BG and FG colors of the row header.

Parameter
Type
Description

table

nForeColor

nBackColor

Returns: SalBoolean.

SetRowHdrFont(table, nRow, nFlags)

Sets the font flags for a row header, can be a combination of Vis.TBL_FLG_*.

Parameter
Type
Description

Returns: SalBoolean.

SetTableFont(table, nFlags)

Sets the font flags for the table, can be a combination of Vis.TBL_FLG_*.

Parameter
Type
Description

table

nFlags

Returns: SalBoolean.

Last updated