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
DelphiDelphiVCLPythonPython GUIWindows

OnClick Event in DelphiVCL4Python Library

OnClick event occurs when the user clicks the control. We use the OnClick event handler to respond when the user clicks the control. If the control has an associated action, and that action has an OnExecute method, the action’s OnExecute method responds to click events unless it is superseded by an OnClick event handler. Usually, OnClick occurs when the user presses and…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Understanding delphivcl.Application.BeginInvoke

BeginInvoke method or DelphiVCL.Application.BeginInvoke is used to perform an asynchronous call to the method specified by either AProc or AFunc. The AContext parameter specifies the context where the method executes in. This context corresponds to the main thread. In case of a Tcontrol descendant, it executes in the context of the thread on which the closest window handle was…
Read more