Links

VisTblEx

PPJ.Runtime.Vis.VisTblEx
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)
Extensions
C#
VB.NET
public class VisTblEx
Public Class VisTblEx

Fields

Name
Type
Description
COL_NOCHANGE
Int32
The color will not be affected by this color entry
COL_NOT_BG
Int32
The color will the negative of the BG color
ROWDELETE_BMP
Int32
The standard SQLWindows bitmap for a marked for deletion row
ROWEDIT_BMP
Int32
The standard SQLWindows bitmap for an edited row
ROWNEW_BMP
Int32
The standard SQLWindows bitmap for a new row
TBL_BMP_BESTFIT
Int32
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
Int32
Bitmap should be bottom aligned
TBL_BMP_CENTER
Int32
Bitmap should be centered horizontally
TBL_BMP_COLOR
Int32
Bitmap is a color bitmap
TBL_BMP_LEFT
Int32
Bitmap should be left aligned
TBL_BMP_MONO
Int32
Bitmap is a monochrome bitmap (better performance)
TBL_BMP_RIGHT
Int32
Bitmap should be right aligned
TBL_BMP_SCALE
Int32
Bitmap should be scaled
TBL_BMP_TOFIT
Int32
Bitmap should be sized to exactly fit in the region where it is placed
TBL_BMP_TOP
Int32
Bitmap should be top aligned
TBL_BMP_VCENTER
Int32
Bitmap should be centered vertically
TBL_FLG_BOLD
Int32
bold
TBL_FLG_DOTTEDCOLLINES
Int32
dotted col lines
TBL_FLG_DOTTEDROWLINES
Int32
dotted row lines
TBL_FLG_ITALIC
Int32
italic
TBL_FLG_NOBOLD
Int32
no bold
TBL_FLG_NOCOLLINES
Int32
no col lines
TBL_FLG_NOCOLORS
Int32
no colors
TBL_FLG_NOFONTS
Int32
no fonts
TBL_FLG_NOITALIC
Int32
no italic
TBL_FLG_NOROWLINES
Int32
no row lines
TBL_FLG_NOSTRIKEOUT
Int32
no strikeout
TBL_FLG_NOUNDERLINE
Int32
no underline
TBL_FLG_SOLIDCOLLINES
UInt32
solid col lines
TBL_FLG_SOLIDROWLINES
Int32
solid row lines
TBL_FLG_STRIKEOUT
Int32
strikeout
TBL_FLG_UNDERLINE
Int32
underline

Methods

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

Adds a bitmap to the internal list.
Parameter
Type
Description
table
Control
hBitmap
SalNumber
nFlags
SalNumber
nWidth
SalNumber
nHeight
SalNumber
nTransparentColor
SalNumber
nInversionColor
SalNumber
Not used
nIndex
SalNumber
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
Control
hBitmap
SalNumber
nFlags
SalNumber
nWidth
SalNumber
nHeight
SalNumber
nTransparentColor
SalNumber
nInversionColor
SalNumber
nRowFlags
SalNumber
nIndex
SalNumber
bReplace
Returns: SalNumber.

FreeBitmap(hBitmap)

Releases the bitmap resource.
Parameter
Type
Description
hBitmap
SalNumber
Returns: SalBoolean.

GetCellBitmap(table, nRow, nCol)

Gets the index of the bitmap used for the cell.
Parameter
Type
Description
table
Control
nRow
SalNumber
nCol
SalNumber
Returns: SalNumber.

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

Parameter
Type
Description
table
Control
nRow
SalNumber
nCol
SalNumber
nForeColor
nBackColor
Returns: SalBoolean.

GetCellFont(table, nRow, nCol)

Gets the font flags for a cell.
Parameter
Type
Description
table
Control
nRow
SalNumber
nCol
SalNumber
Returns: SalNumber.

GetColBitmap(table, nCol)

Gets a bitmap index for a column header.
Parameter
Type
Description
table
Control
nCol
SalNumber
Returns: SalNumber.

GetColColor(table, nCol, nForeColor, nBackColor)

Parameter
Type
Description
table
Control
nCol
SalNumber
nForeColor
nBackColor
Returns: SalBoolean.

GetColFont(table, nCol)

Gets the font flags for an entire column.
Parameter
Type
Description
table
Control
nCol
SalNumber
Returns: SalNumber.

GetColHdrColor(table, nCol, nForeColor, nBackColor)

Parameter
Type
Description
table
Control
nCol
SalNumber
nForeColor
nBackColor
Returns: SalBoolean.

GetColHdrFont(table, nCol)

Gets the font flags for a column header.
Parameter
Type
Description
table
Control
nCol
SalNumber
Returns: SalNumber.

GetRowColor(table, nRow, nForeColor, nBackColor)

Parameter
Type
Description
table
Control
nRow
SalNumber
nForeColor
nBackColor
Returns: SalBoolean.

GetRowFont(table, nRow)

Gets the font flags for an entire row.
Parameter
Type
Description
table
Control
nRow
SalNumber
Returns: SalNumber.

GetRowHdrColor(table, nRow, nForeColor, nBackColor)

Parameter
Type
Description
table
Control
nRow
SalNumber
nForeColor
nBackColor
Returns: SalBoolean.

GetRowHdrFont(table, nRow)

Gets the font flags for a row header.
Parameter
Type
Description
table
Control
nRow
SalNumber
Returns: SalNumber.

GetTableFont(table)

Gets the font flags for the table.
Parameter
Type
Description
table
Control
Returns: SalNumber.

LoadBitmap(sFileName)

Loads a bitmap from the specified file.
Parameter
Type
Description
sFileName
SalString
Returns: SalNumber.

RemoveBitmap(table, nIndex)

Removes the specified bitmap from the internal list.
Parameter
Type
Description
table
Control
nIndex
SalNumber
Returns: SalBoolean.

RemoveRowBitmap(table, nIndex)

Removes the specified row-header bitmap.
Parameter
Type
Description
table
Control
nIndex
SalNumber
Returns: SalBoolean.

Reset(table)

Resets all the Vis extended settings.
Parameter
Type
Description
table
Control
Returns: SalBoolean.

SetCellBitmap(table, nRow, nCol, nIndex)

Selected the bitmap to use for the cell.
Parameter
Type
Description
table
Control
nRow
SalNumber
nCol
SalNumber
nIndex
SalNumber
Returns: SalBoolean.

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

Sets the BG and FG colors of an individual cell.
Parameter
Type
Description
table
Control
nRow
SalNumber
nCol
SalNumber
nForeColor
SalNumber
nBackColor
SalNumber
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
table
Control
nRow
SalNumber
nCol
SalNumber
nFlags
SalNumber
Returns: SalBoolean.

SetColBitmap(table, nCol, nIndex)

Selects the bitmap to use for the column header.
Parameter
Type
Description
table
Control
nCol
SalNumber
nIndex
SalNumber
Returns: SalBoolean.

SetColColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of an entire column.
Parameter
Type
Description
table
Control
nCol
SalNumber
nForeColor
SalNumber
nBackColor
SalNumber
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
table
Control
nCol
SalNumber
nFlags
SalNumber
Returns: SalBoolean.

SetColHdrColor(table, nCol, nForeColor, nBackColor)

Sets the BG and FG colors of the column header.
Parameter
Type
Description
table
Control
nCol
SalNumber
nForeColor
SalNumber
nBackColor
SalNumber
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
table
Control
nCol
SalNumber
nFlags
SalNumber
Returns: SalBoolean.

SetRowColor(table, nRow, nForeColor, nBackColor)

Sets the BG and FG colors of an entire row.
Parameter
Type
Description
table
Control
nRow
SalNumber