On Thu, 18 May 2017 02:43:10 +0300
Kostas Michalopoulos via Lazarus <lazarus@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
-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to