DelphiDelphiVCLPythonPython GUIWindows

How to use the DelphiVCL.DrawGrid.Row

abstract background with blue stains

DelphiVCL.DrawGrid.Row specifies the index of the row that contains the selected cell.

Use DelphiVCL.DrawGrid.Row at runtime to determine the current row in the grid. Setting Row moves focus to the cell in the current column that is in the new row. The first row has an index of 0, the second row an index of 1, and so on.

The selected cell in the grid can be located by reading the Row property and the Col property to obtain the indexes of its row and column. When focus moves to the grid, the selected cell gets input focus.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.DrawGrid.Row using dir() command:

See the responses in our Windows command prompt:


Here is the working example of the implementation of DelphiVCL.DrawGrid.Row:

See the complete code here.

The result:


Check out DelphiVCL which easily allows you to build GUIs for Windows using Python!

Related posts
DelphiDelphiVCLPythonPython GUIWindows

What is DelphiVCL.Application.CreateHandle?

DelphiDelphiVCLPythonPython GUIWindows

Creating A New Application With DelphiVCL.Application.Create

DelphiDelphiVCLPythonPython GUIWindows

All You Need To Know About Application.DialogHandle

DelphiDelphiVCLPythonPython GUIWindows

What is the FieldAddress Property in DelphiVCL.Application?

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *