DelphiDelphiVCLPythonPython GUIWindows

What is the ClassName Method in delphivcl.Application?

The ClassName method or DelphiVCL.Application.ClassName is used to return a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). Use ClassName to obtain the class name from an object instance or class reference. This is useful for differentiating object instances that are assigned to a variable that has the type of an ancestor…
Read more
Learn PythonPythonPython GUIVideos

Learn Python With How I Solved My NYC Parking Problem Using Python by Jessica Garson (PyCon 2020) Video

Python programming language is one of the widely used programming languages in the world. It is often described as an easy-to-use language and is most ideal for beginners. We have learned from the previous videos from the recently concluded PyCon 2020 that Python has been used in many different fields such as physics, agriculture, and more. In this video shared by Jessica Garson, we will realize…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Write a String inside a Clipping Rectangle using TextRect

We use TextRect to write a string inside a clipping rectangle or within a limited rectangular region. Any portions of the string that fall outside the rectangle passed in the Rect parameter are clipped and don’t appear. The upper left corner of the text is placed at the point (X, Y). Here is the working example of the implementation of an OnClose event like in the Section 7 (Getting…
Read more
DelphiDelphiVCLPythonPython GUIWindows

OnDrawCell Event in DelphiVCL4Python Library

OnDrawCell event Occurs when a cell in the grid needs to be drawn. We write an OnDrawCell event handler to draw the contents of all the cells in the grid. Draw on the cell using the methods of the Canvas property. The Rect parameter indicates the location of the cell on the canvas. The Col and Row parameters indicate the column and row indexes of the cell that should be drawn. The State…
Read more