DelphiDelphiVCLPythonPython GUIWindows

What Is The Lines Property And How Do I Use It?

The Lines Property contains the individual lines of text in the memo control. This works for native Windows development. We use Lines to manipulate text in a memo control on a line-by-line basis. Lines is a DelphiVCL.Strings or TStrings object, so the TStrings methods may be used for Lines to perform manipulations such as counting the lines of text, adding new lines, deleting lines, or…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Everything You Need To Know About C++ ABI Inside DelphiVCL

C++ ABIs or more specifically: DelphiVCL.Application.CPP_ABI_1, DelphiVCL.Application.CPP_ABI_2, and DelphiVCL.Application.CPP_ABI_3 inside DelphiVCL.Application is C++ ABIs (Application Binary Interfaces, which are implemented under the hood, including how parameters are passed, such as in a register or on the stack). In windows development software but also especially for Linux, an…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What does the OnMessage Event in DelphiVCL.Application do?

In Windows application development the OnMessage or DelphiVCL.Application.OnMessage occurs when the application receives a message from either the Windows operating system or another application. How to use the DelphiVCL.Application.OnMessage event properly? We use the OnMessage to trap any or all Windows messages posted to all windows in the application. The OnMessage event occurs when an…
Read more
DelphiDelphiVCLPythonPython GUIWindows

What Is The Deallocates Method And What Does It Do?

During windows development, or in fact any similar apps, use the FreeInstance method or DelphiVCL.Application.FreeInstance to deallocate memory allocated by a previous call to the NewInstance method. All destructors call FreeInstance automatically to deallocate memory that was allocated by overriding NewInstance. Do not call FreeInstance directly. FreeInstance should be overridden if…
Read more