Juha, you tell that "if LowerCase(s)='default'" works faster than "if CompareText(s,'default')", but most of the fonts, dont start with letter "d" or "de"=> so CompareText takes one char only, LowerCase takes n chars=> LowerCase slower. -- Regards, Alexey