Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
procedure ChangeWordColor(RE: TRichEdit; TheWord: String; Color: TColor; Style: TFontStyles); var i, CharPos, noChars: Integer; begin CharPos := 0; noChars := 0; for i := 0 to Pred(RE.Lines.Count) do Begin noChars := noChars + Length(RE.Lines[i]); CharPos := RE.FindText(TheWord, CharPos, noChars, [stWholeWord]); RE.SelStart := CharPos; RE.SelLength := Length(TheWord); if RE.SelAttributes.Color = clRed then Begin RE.SelAttributes.Color := color; RE.SelAttributes.Style := Style; End; End; end;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.