Detect cafsMisSpelled?

    • Offizieller Beitrag

    Hi,

    each TParagraph has a CharAttr array. Thjis array are cardinals, the lower 3 bytes are used as index values for the attributes, the high byte is used for status bits, such as cafsMisSpelled with the value

    cafsMisSpelled = $04000000;

    You onyl need to test the value if the bit is set

    if (val and flag)<>0 then ...


    Julian