[Lazarus] Check for 'default' font

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Feb 20 02:23:36 CET 2017


On Sat, 18 Feb 2017 03:44:46 +0300
Alexey via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> I find all places of 'default' in Laz-
> 
> Here you see all variants... :( Pls, make one variant. SameText(..., 
> 'default') is best.

Why is SameText best?

Mattias
 
 
> if AnsiCompare(.., 'default')=0 then
> 
> if SameText(.., 'default') then
> 
> if CompareText(... 'default')=0 then
> if CompareText(... 'default')<>0 then
> 
> if ....='default' then
> 
> 


More information about the Lazarus mailing list