DelphiDelphiVCLPythonPython GUIWindows

How to use the DelphiVCL.DrawGrid.Col

software developer coding 500x333

DelphiVCL.DrawGrid.Col specifies the index of the column that contains the selected cell.

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

The selected cell in the grid can be located by reading the Col property and the Row property to obtain the indexes of its column and row. 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.Col using dir() command:

See the responses in our Windows command prompt:

0dir 3399056

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

See the complete code here.

The result:

2 1803938
1 3651113

 

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

Related posts
CodeIDELearn PythonPythonPython GUITkinter

How To Make More Than 20 ChatGPT Prompts Work With Python GUI Builders And Matplotlib Library?

CodeIDELearn PythonPythonPython GUITkinter

How To Make More Than 20 ChatGPT Prompts Work With Python GUI Builders And Pillow Library?

CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How To Create A Weather App With The Python Delphi Ecosystem and Weatherstack API

CodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How To Create A Music Player With The Python Delphi Ecosystem

Leave a Reply

Your email address will not be published. Required fields are marked *