DelphiDelphiVCLPythonPython GUIWindows

Learn About delphivcl.Application.ComponentCount

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 components list to perform an action on all owned components. The ComponentCount property equals the number of items in the…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Understanding delphivcl.Application.CancelHint

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 window is not valid or when the application closes. CancelHint calls a series of routines that clean up the display and timing…
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