Using TRichEdit at runtime without defining a parent
TRichEdit control is an wrapper around the RichEdit control in Windows. Windows’s controls are… well.. Windows, and they need an Window Handle to work. Delphi needs to call CreateWindow or CreateWindowEx to create the Handle, and both routines need an valid parent Window Handle to work. Delphi tries to use the handle of the control’s … Read more