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

What Is The DelphiVCL.Application.CreateForm Method?

When you develop windows software use CreateForm method or DelphiVCL.Application.CreateForm to create a new form. Call CreateForm to dynamically create a form at runtime. Developers do not need to add code for creating most forms, because typically one or more calls to CreateForm are added automatically to the project’s source when using the form designer. CreateForm creates a new form…
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
DelphiDelphiVCLPythonPython GUIWindows

What Does The OnHint Event In DelphiVCL.Application Do?

What is the DelphiVCL.Application.OnHint event? The OnHint or DelphiVCL.Application.OnHint occurs when the mouse pointer moves over a control or menu item that can display a Help Hint. This mainly applies to Windows app development. How to use the DelphiVCL.Application.OnHint event properly? Write an OnHint event handler to perform special processing when the mouse pauses over a control…
Read more