I’m sure most of us have encountered some critical issues with our computer where the Operating system becomes corrupted and no matter how many System Repair attempts, it doesn’t seem to fix anything. At some point, we will end up with System Restore to bring our PC back to its safe state. Interestingly, this could also happen in a Python project. There is a chance that you will…
Understanding DelphiVCL.Application.ControlDestroyed
June 7, 2021
The ControlDestroyed method or DelphiVCL.Application.ControlDestroyed is used to notify the application when a control is destroyed.
ControlDestroyed is for internal use and is called automatically by TControl. Do not call it directly.
ControlDestroyed notifies…
Learn About DelphiVCL.Application.ComponentCount
June 6, 2021
The ComponentCount property or DelphiVCL.Application.ComponentCount is used to indicate the number of components owned by the component.
Use the ComponentCount property to determine the number of components owned by a component, for example, when iterating through the…
Learn About DelphiVCL.Application.ComObject
June 6, 2021
The ComObject property or DelphiVCL.Application.ComObject is used to specify the interface reference implemented by the component.
Use ComObject to assign a COM interface implemented by a component to an interface reference. This property is used by components that support COM interfaces.
If the component is not a wrapper for a COM component, trying to read ComObject causes…
How to use the Text Property
June 6, 2021
Text property contains a text string associated with the control.
We use the Text property to read the Text of the control or to specify a new string for the Text value. By default, Text is the control name. For edit controls and memos, the Text appears within the…
The ClassType method or DelphiVCL.Application.ClassType is used to return the class reference for the object’s class.
Note: ClassType dynamically determines the type of an object and returns its class reference, or metaclass.
Avoid using ClassType in…
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…
The ClassInfo method or DelphiVCL.Application.ClassInfo is used to return a pointer to the run-time type information (RTTI) table for the object type.
ClassInfo provides access to the RTTI table for a given object type.
Some classes do not provide run-time type…
Understanding DelphiVCL.Application.CancelHint
June 6, 2021
The CancelHint method or DelphiVCL.Application.CancelHint is used to cancel the display of a hint for a control.
Applications rarely, if ever, call CancelHint directly. CancelHint is used internally to cancel the display of hints at appropriate times, such as when a…
Learn Python With How I Solved My NYC Parking Problem Using Python by Jessica Garson (PyCon 2020) Video
June 5, 2021
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…