GridSetSqlStmt
Declaration | GridSetSqlStmt(string Win, string Elem, string Stmt) |
Function | Sets the SQL statement stmt of the data grid specified by Elem in the Win window. |
Cross-reference | GridRefresh |
Example | GridSetSqlStmt(‘Fenster_1’, ‘Datengrid_1’, ‘select * from P_VALUES’) GridRefresh(‘Fenster_1’, ‘Datengrid_1’) |
GridRefresh
Declaration | GridRefresh(string Win, string Elem) |
Function | Refreshes the data grid specified by Elem in the Win window. |
Cross-reference | |
Example | GridRefresh(‘Fenster_1’, ‘Datengrid_1’) |
GridGetCol
Declaration | long GridGetCol(string Win, string Elem) |
Function | Returns the currently selected column of the data grid specified by Elem in the Win window (if no column is selected, -1 is supplied …). |
Cross-reference | GridSetCol |
Example | long l l := GridGetCol(‘Fenster_1’, ‘Datengrid_1’) |
GridGetRow
Declaration | long GridGetRow(string Win, string Elem) |
Function | Returns the currently selected data record of the data grid specified by Elem in the Win window (for the first record 0 is supplied …). |
Cross-reference | |
Example | long l l := GridGetRow(‘Fenster_1’, ‘Datengrid_1’) |
GridGetText
Declaration | string GridGetCol(string Win, string Elem) |
Function | Returns the contents of the column where the cursor is located. |
Cross-reference | GridSetText |
Example | string s s := GridGetText(‘Fenster_1’, ‘Datengrid_1’) |
GridSetCol
Declaration | GridSetCol(string Win, string Elem, long Col) |
Function | Sets the currently selected column of the data grid specified by Elem to Col in the Win window. |
Cross-reference | GridGetCol |
Example | GridSetCol(‘Fenster_1’, ‘Datengrid_1’, 2) |
GridSetRow
Declaration | GridSetRow(string Win, string Elem, long Row) |
Function | Sets the currently selected data record of the data grid specified by Elem to Row in the Win window (for the first record 0 must be passed …). |
Cross-reference | |
Example | GridSetRow(‘Fenster_1’, ‘Datengrid_1’, 5) |
GridSetText
Declaration | GridSetText(string Win, string Elem, string Txt) |
Function | Sets the contents of the column in which the cursor is located to Txt. |
Cross-reference | GridGetText |
Example | GridSetText(‘Fenster_1’, ‘Datengrid_1’, ‘Test’) |