Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure ValuesToGrid(Src: TMtx; Dst: TStringGrid; DstRow,DstCol: integer; SrcRow, SrcCol,RowCount,ColCount: integer; Format: string = '0.0000'; Headers: boolean = True); overload; | Converts (RowCount*ColCount) elements starting at [SrcRow,SrcCol] of the Src matrix to strings. |
| 2 | procedure ValuesToGrid(Src: TMtx; Dst: TStringGrid; DstRow, DstCol: integer; Format: string = '0.0000'; Headers: boolean = True); overload; | Converts all elements of the Src matrix to strings |
| 3 | procedure ValuesToGrid(Src: TVec; Dst: TStringGrid; DstRow,DstCol: integer; Format: string = ' 0.0000'; Headers: boolean = True; Vertical: boolean = True); overload; | Converts an array of values to TStringGrid. |
| └ indexed: procedure ValuesToGrid(Src: TVec; Dst: TStringGrid; DstRow,DstCol, Index,Len: integer; Format: string = ' 0.0000'; Headers: boolean = True; Vertical: boolean = True); overload; |
Overload 1: procedure ValuesToGrid(Src: TMtx; Dst: TStringGrid; DstRow,DstCol: integer; SrcRow, SrcCol,RowCount,ColCount: integer; Format: string = '0.0000'; Headers: boolean = True); overload;
Converts (RowCount*ColCount) elements starting at [SrcRow,SrcCol] of the Src matrix to strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtx | |
| 2 | Dst | TStringGrid | |
| 3 | DstRow | integer | |
| 4 | DstCol | integer | |
| 5 | SrcRow | integer | |
| 6 | SrcCol | integer | |
| 7 | RowCount | integer | |
| 8 | ColCount | integer | |
| 9 | Format | string | |
| 10 | Headers | boolean |
The algorithm uses formating Format and stores them in Dst starting at [DstRow,DstCol]. If headers is True, the first row and first column are numbered. If Dst does not have enough rows and cols an exception is raised.
Overload 2: procedure ValuesToGrid(Src: TMtx; Dst: TStringGrid; DstRow, DstCol: integer; Format: string = '0.0000'; Headers: boolean = True); overload;
Converts all elements of the Src matrix to strings
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtx | |
| 2 | Dst | TStringGrid | |
| 3 | DstRow | integer | |
| 4 | DstCol | integer | |
| 5 | Format | string | |
| 6 | Headers | boolean |
The routine uses formating Format and stores them in Dst starting at [DstRow,DstCol]. If headers is True, the first row and first column are numbered. If Dst does not have enough rows and cols an exception is raised.
Overload 3: procedure ValuesToGrid(Src: TVec; Dst: TStringGrid; DstRow,DstCol: integer; Format: string = ' 0.0000'; Headers: boolean = True; Vertical: boolean = True); overload;
Converts an array of values to TStringGrid.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | |
| 2 | Dst | TStringGrid | |
| 3 | DstRow | integer | |
| 4 | DstCol | integer | |
| 5 | Format | string | |
| 6 | Headers | boolean | |
| 7 | Vertical | boolean |
Convert all elements of the Src vector to strings with formating Format and store them in Dst starting at [DstRow,DstCol]. If headers is True, the first row and first column are numbered. If Dst does not have enough rows and cols an exception is raised. Vertical parameter determines, if the calling vector is displayed as a row or as a column vector in TStrinGrid.
Indexed: procedure ValuesToGrid(Src: TVec; Dst: TStringGrid; DstRow,DstCol, Index,Len: integer; Format: string = ' 0.0000'; Headers: boolean = True; Vertical: boolean = True); overload;
Convert only elements of the Src vector from Index to Index+Len to strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TVec | |
| 2 | Dst | TStringGrid | |
| 3 | DstRow | integer | |
| 4 | DstCol | integer | |
| 5 | Index | integer | |
| 6 | Len | integer | |
| 7 | Format | string | |
| 8 | Headers | boolean | |
| 9 | Vertical | boolean |
Uses the formating Format and stores them in Dst starting at [DstRow,DstCol]. If headers is True, the first row and first column are numbered. If Dst does not have enough rows and cols an exception is raised.
Vertical parameter determines, if the calling vector is displayed as a row or as a column vector in TStrinGrid.