Skip to main content

VisTblEx

Namespace: PPJ.Runtime.Vis

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

Extensions

public class VisTblEx

Fields

NameTypeDescription
COL_NOCHANGEInt32The color will not be affected by this color entry
COL_NOT_BGInt32The color will the negative of the BG color
ROWDELETE_BMPInt32The standard SQLWindows bitmap for a marked for deletion row
ROWEDIT_BMPInt32The standard SQLWindows bitmap for an edited row
ROWNEW_BMPInt32The standard SQLWindows bitmap for a new row
TBL_BMP_BESTFITInt32Bitmap should be sized to fit in the region where it is placed by scaling the width and height by the same amount
TBL_BMP_BOTTOMInt32Bitmap should be bottom aligned
TBL_BMP_CENTERInt32Bitmap should be centered horizontally
TBL_BMP_COLORInt32Bitmap is a color bitmap
TBL_BMP_LEFTInt32Bitmap should be left aligned
TBL_BMP_MONOInt32Bitmap is a monochrome bitmap (better performance)
TBL_BMP_RIGHTInt32Bitmap should be right aligned
TBL_BMP_SCALEInt32Bitmap should be scaled
TBL_BMP_TOFITInt32Bitmap should be sized to exactly fit in the region where it is placed
TBL_BMP_TOPInt32Bitmap should be top aligned
TBL_BMP_VCENTERInt32Bitmap should be centered vertically
TBL_FLG_BOLDInt32bold
TBL_FLG_DOTTEDCOLLINESInt32dotted col lines
TBL_FLG_DOTTEDROWLINESInt32dotted row lines
TBL_FLG_ITALICInt32italic
TBL_FLG_NOBOLDInt32no bold
TBL_FLG_NOCOLLINESInt32no col lines
TBL_FLG_NOCOLORSInt32no colors
TBL_FLG_NOFONTSInt32no fonts
TBL_FLG_NOITALICInt32no italic
TBL_FLG_NOROWLINESInt32no row lines
TBL_FLG_NOSTRIKEOUTInt32no strikeout
TBL_FLG_NOUNDERLINEInt32no underline
TBL_FLG_SOLIDCOLLINESUInt32solid col lines
TBL_FLG_SOLIDROWLINESInt32solid row lines
TBL_FLG_STRIKEOUTInt32strikeout
TBL_FLG_UNDERLINEInt32underline

Methods

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

Adds a bitmap to the internal list.

ParameterTypeDescription
tableControl
hBitmapSalNumber
nFlagsSalNumber
nWidthSalNumber
nHeightSalNumber
nTransparentColorSalNumber
nInversionColorSalNumberNot used
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.