[Lazarus] Patch for fixing the window resizes when switching components
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu May 18 09:28:12 CEST 2017
On Thu, 18 May 2017 02:43:10 +0300
Kostas Michalopoulos via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
> I see the patch was added and Lazarus seems to work fine now, but the check
> was altered a little. The current check assumes that the Control will never
> be nil, but is this the case?
The "is" operator checks for nil.
if Assigned(Control) and (Control is TCustomForm) then
<=>
if Control is TCustomForm then
Mattias
More information about the Lazarus
mailing list