Skip to main content
Version: 2023

VisTblEx

Namespace: PPJ.Runtime.Vis

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

public class VisTblEx

Fields

NameTypeDescription
COL_NOCHANGEInt32
COL_NOT_BGInt32
ROWDELETE_BMPInt32
ROWEDIT_BMPInt32
ROWNEW_BMPInt32
TBL_BMP_BESTFITInt32
TBL_BMP_BOTTOMInt32
TBL_BMP_CENTERInt32
TBL_BMP_COLORInt32
TBL_BMP_LEFTInt32
TBL_BMP_MONOInt32
TBL_BMP_RIGHTInt32
TBL_BMP_SCALEInt32
TBL_BMP_TOFITInt32
TBL_BMP_TOPInt32
TBL_BMP_VCENTERInt32
TBL_FLG_BOLDInt32
TBL_FLG_DOTTEDCOLLINESInt32
TBL_FLG_DOTTEDROWLINESInt32
TBL_FLG_ITALICInt32
TBL_FLG_NOBOLDInt32
TBL_FLG_NOCOLLINESInt32
TBL_FLG_NOCOLORSInt32
TBL_FLG_NOFONTSInt32
TBL_FLG_NOITALICInt32
TBL_FLG_NOROWLINESInt32
TBL_FLG_NOSTRIKEOUTInt32
TBL_FLG_NOUNDERLINEInt32
TBL_FLG_SOLIDCOLLINESUInt32
TBL_FLG_SOLIDROWLINESInt32
TBL_FLG_STRIKEOUTInt32
TBL_FLG_UNDERLINEInt32

Methods

Static memberAddBitmap(table, hBitmap, nFlags, nWidth, nHeight, nIndex)

Adds a bitmap to the internal list.

ParameterTypeDescription
tableControl
hBitmapSalNumber
nFlagsSalNumber
nWidthSalNumber
nHeightSalNumber
nIndexSalNumber

Returns: SalNumber.

Static memberAddRowBitmap(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.

ParameterTypeDescription
tableControl
hBitmapSalNumber
nFlagsSalNumber
nWidthSalNumber
nHeightSalNumber
nTransparentColorSalNumber
nInversionColorSalNumber
nRowFlagsSalNumber
nIndexSalNumber
bReplaceSalBoolean

Returns: SalNumber.

Static memberFreeBitmap(hBitmap)

Releases the bitmap resource.

ParameterTypeDescription
hBitmapSalNumber

Returns: SalBoolean.

Static memberGetCellBitmap(table, nRow, nCol)

Gets the index of the bitmap used for the cell.

ParameterTypeDescription
tableControl
nRowSalNumber
nColSalNumber

Returns: SalNumber.

Static memberGetCellColor(table, nRow, nCol, nForeColor, nBackColor)

ParameterTypeDescription
tableControl
nRowSalNumber
nColSalNumber
nForeColorSalNumber&
nBackColorSalNumber&

Returns: SalBoolean.

Static memberGetCellFont(table, nRow, nCol)

Gets the font flags for a cell.

ParameterTypeDescription
tableControl
nRowSalNumber
nColSalNumber

Returns: SalNumber.

Static memberGetColBitmap(table, nCol)

Gets a bitmap index for a column header.

ParameterTypeDescription
tableControl
nColSalNumber

Returns: SalNumber.

Static memberGetColColor(table, nCol, nForeColor, nBackColor)

ParameterTypeDescription
tableControl
nColSalNumber
nForeColorSalNumber&
nBackColorSalNumber&

Returns: SalBoolean.

Static memberGetColFont(table, nCol)

Gets the font flags for an entire column.

ParameterTypeDescription
tableControl
nColSalNumber

Returns: SalNumber.

Static memberGetColHdrColor(table, nCol, nForeColor, nBackColor)

ParameterTypeDescription
tableControl
nColSalNumber
nForeColorSalNumber&
nBackColorSalNumber&

Returns: SalBoolean.

Static memberGetColHdrFont(table, nCol)

Gets the font flags for a column header.

ParameterTypeDescription
tableControl
nColSalNumber

Returns: SalNumber.

Static memberGetRowColor(table, nRow, nForeColor, nBackColor)

ParameterTypeDescription
tableControl
nRowSalNumber
nForeColorSalNumber&
nBackColorSalNumber&

Returns: SalBoolean.

Static memberGetRowFont(table, nRow)

Gets the font flags for an entire row.

ParameterTypeDescription
tableControl
nRowSalNumber

Returns: SalNumber.

Static memberGetRowHdrColor(table, nRow, nForeColor, nBackColor)

ParameterTypeDescription
tableControl
nRowSalNumber
nForeColorSalNumber&
nBackColorSalNumber&

Returns: SalBoolean.

Static memberGetRowHdrFont(table, nRow)

Gets the font flags for a row header.

ParameterTypeDescription
tableControl
nRowSalNumber

Returns: SalNumber.

Static memberGetTableFont(table)

Gets the font flags for the table.

ParameterTypeDescription
tableControl

Returns: SalNumber.

Static memberLoadBitmap(sFileName)

Loads a bitmap from the specified file.

ParameterTypeDescription
sFileNameSalString

Returns: SalNumber.

Static memberRemoveBitmap(table, nIndex)

Removes the specified bitmap from the internal list.

ParameterTypeDescription
tableControl
nIndexSalNumber

Returns: SalBoolean.

Static memberRemoveRowBitmap(table, nIndex)

Removes the specified row-header bitmap.

ParameterTypeDescription
tableControl
nIndexSalNumber

Returns: SalBoolean.

Static memberReset(table)

Resets all the Vis extended settings.

ParameterTypeDescription
tableControl

Returns: SalBoolean.

Static memberSetCellBitmap(table, nRow, nCol, nIndex)

Selected the bitmap to use for the cell.

ParameterTypeDescription
tableControl
nRowSalNumber
nColSalNumber
nIndexSalNumber

Returns: SalBoolean.

Static memberSetCellColor(table, nRow, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of an individual cell.

ParameterTypeDescription
tableControl
nRowSalNumber
nColSalNumber
nForeColorSalNumber
nBackColorSalNumber

Returns: SalBoolean.

Static memberSetCellFont(table, nRow, nCol, nFlags)

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

ParameterTypeDescription
tableControl
nRowSalNumber
nColSalNumber
nFlagsSalNumber

Returns: SalBoolean.

Static memberSetColBitmap(table, nCol, nIndex)

Selects the bitmap to use for the column header.

ParameterTypeDescription
tableControl
nColSalNumber
nIndexSalNumber

Returns: SalBoolean.

Static memberSetColColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of an entire column.

ParameterTypeDescription
tableControl
nColSalNumber
nForeColorSalNumber
nBackColorSalNumber

Returns: SalBoolean.

Static memberSetColFont(table, nCol, nFlags)

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

ParameterTypeDescription
tableControl
nColSalNumber
nFlagsSalNumber

Returns: SalBoolean.

Static memberSetColHdrColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of the column header.

ParameterTypeDescription
tableControl
nColSalNumber
nForeColorSalNumber
nBackColorSalNumber

Returns: SalBoolean.

Static memberSetColHdrFont(table, nCol, nFlags)

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

ParameterTypeDescription
tableControl
nColSalNumber
nFlagsSalNumber

Returns: SalBoolean.

Static memberSetRowColor(table, nRow, nForeColor, nBackColor)

Sets the BG and FG colors of an entire row.

ParameterTypeDescription
tableControl
nRowSalNumber
nForeColorSalNumber
nBackColorSalNumber

Returns: SalBoolean.

Static memberSetRowFont(table, nRow, nFlags)

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

ParameterTypeDescription
tableControl
nRowSalNumber
nFlagsSalNumber

Returns: SalBoolean.

Static memberSetRowHdrColor(table, nRow, nForeColor, nBackColor)

Sets the BG and FG colors of the row header.

ParameterTypeDescription
tableControl
nRowSalNumber
nForeColorSalNumber
nBackColorSalNumber

Returns: SalBoolean.

Static memberSetRowHdrFont(table, nRow, nFlags)

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

ParameterTypeDescription
tableControl
nRowSalNumber
nFlagsSalNumber

Returns: SalBoolean.

Static memberSetTableFont(table, nFlags)

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

ParameterTypeDescription
tableControl
nFlagsSalNumber

Returns: SalBoolean.