DelphiDelphiVCLPythonPython GUIWindows

OnSelectCell Event in DelphiVCL Library

woman wearing red and black checkered blouse using macbook

OnSelectCell event occurs before a cell in the grid is selected.

Write an OnSelectCell event handler to specify whether any particular cell in the grid can be selected. The Col and Row parameters indicate the column and row indexes of the cell that is about to be selected. Set the CanSelect parameter to False to prevent the cell being selected.
Here is the working example of the implementation of an OnSelectCell event:

To see the result, let’s run the complete script:

1-7181108

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

close
Related posts
DelphiDelphiVCLPythonPython GUIWindows

Learn about the DelphiVCL.Component as the Common Ancestor of All Component Classes

Learn PythonPythonVideos

Learn Python With The Hidden Power of the Python Runtime by Elizaveta Shashkova (PyCon 2020) Videos

Learn PythonPythonVideos

Learn Python With Organizing to Improve Your Workplace: Know Your Rights by Shauna Gordon-McKeon (PyCon 2020) Video

DelphiPythonPython GUIWindows

Learn To Build A Python GUI For Manipulating Datetime Using Delorean Library In A Delphi Windows App

Leave a Reply

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

en_USEnglish