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

How to use the Parent Property

We use the Parent property to get or set the parent of the control. The parent of a control is the control that contains it. For example, if an application includes three radio buttons in a group box, the group box is the parent of the three radio buttons, and the radio buttons are the child controls of the group box. To serve as a parent, a control must be an instance of a TWinControl…
Read more
DelphiDelphiVCLPythonPython GUIWindows

OnSelectCell Event in DelphiVCL4Python Library

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…
Read more