DelphiDelphiVCLPythonPython GUIWindows

How to use the DelphiVCL.DrawGrid.Row

DelphiVCL.DrawGrid.Row specifies the index of the row that contains the selected cell. Use DelphiVCL.DrawGrid.Row at runtime to determine the current row in the grid. Setting Row moves focus to the cell in the current column that is in the new row. The first row has an index of 0, the second row an index of 1, and so on. The selected cell in the grid can be located by reading the Row…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How to use the DelphiVCL.Application.Run Property

DelphiVCL.Application.Run property used to execute the application. Do not call DelphiVCL.Application.Run. In Delphi’s VCL, when creating a new project, The IDE automatically creates a main program block in the project file that calls the Run method. When the application is executed, the application’s Run method is called. DelphiVCL.Application.Run contains the…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How to use the Caption Property

We use Caption to specify a text string that identifies the control to the user. To underline a character in a Caption that labels a component, include an ampersand (&) before the character. This type of character is called an accelerator character. The user can then select the component by pressing ALT while typing the underlined character. To display an ampersand character in the…
Read more
DelphiDelphiVCLPythonPython GUIWindows

OnClose Event in DelphiVCL Library

OnClose event occurs when the form closes. We use OnClose to perform special processing when the form closes. The OnClose event specifies which event handler to call when a form is about to close. The handler specified by OnClose might, for example, test to make sure all fields in a data-entry form have valid contents before allowing the form to close. A form is closed by the Close…
Read more