TMtxVecGrid Class

Header: Dew.Math.Controls.VCL/MtxGrid.h · C++Builder only
TCustomGridTCustomMtxVecGridTMtxVecGrid

class TMtxVecGrid : public TCustomMtxVecGrid;

Visual control for viewing/editing of vector or matrix values.

Visual control enables viewing/editing vector or matrix values.

Constructors

NameDescription
TMtxVecGrid

Destructors

NameDescription
~TMtxVecGrid

Properties

NameTypeDescription
AllowAppendboolAllows appending new rows.
AutoSizeColumnsboolAutomatically size column width to match cell text.
ColumnWidthintSpecifies the width of the columns.
DataSourceTMtxVecBase*Defines grid values. Datasource can be vector or matrix.
EditableboolIf true, cells values can be edited.
MtxVecTypeTMtxVecType
ScientificboolIf true, use full floating point precision to format strings.
ShowInfoboolShow additional vector/matrix info in top-left corner.
SplitComplexNumbersboolSplit complex number to real and imaginary part.
StringFormatSystem::UnicodeStringDefault string format text.
TextAlignTCellTextAlignCell text alignment

Methods

NameDescription
AppendRowAdds new row to matrix or vector.
BestColWidth
CalcDimensionsBased on Datasource size and Complex properties, defines grid number of rows and columns.
CellToCplx
CellToIndex
CellToInt
CellToReal
CellToSCplx
DataSourceIsComplex
DrawCell
FirstColNum
FirstRowNum
GetAllowAppend
GetAutoSizeColumns
GetColumnWidth
GetDataSource
GetEditable
GetEditText
GetMtxVecType
GetScientific
GetShowInfo
GetSplitComplexNumbers
GetStringFormat
GetTextAlign
InvalidateColumnWidth
KeyDown
Loaded
MaxDataCols
MaxDataRows
Recreate
RemoveRowRemoves currently selected row from matrix or vector.
Repaint
SetAutoSizeColumns
SetEditText
SetTextAlign
StartEditing
StopEditing

Fields

NameTypeDescription
dMaxdouble
dMindouble
dMtxTMtx *
dVecTVec *
iMaxint
iMinint
iMtxTMtxInt *
iOldStringSystem::UnicodeString
iVecTVecInt *