if Talmque.FieldByName('ALMSTAT').AsString = 'ALARM' then
begin
sStatus := Talmque.FieldByName('ALMACK').AsString;
if sStatus = 'NA' then DisplayAlm(sNafont,sNafore,sNaback,0,Rect, DataCol, Column, State)
else if sStatus = 'AC' then DisplayAlm(sACFONT,sACFORE,sACBACK,1,Rect, DataCol, Column, State)
else if sStatus = 'UA' then DisplayAlm(sUAFONT,sUAFORE,sUABACK,1,Rect, DataCol, Column, State)
else if sStatus = 'NC' then DisplayAlm(sNCFONT,sNCFORE,sNCBACK,0,Rect, DataCol, Column, State)
else if sStatus = 'CF' then DisplayAlm(sCFFONT,sCFFORE,sCFBACK,0, DataCol, Column, State);
간단하게... 폼에 타이머 하나 나두시구요...
OnTimer이벤트에서 글씨의 색을 토글시켜 주세요...
예) 흰색<=>검은색
^^ 항상 즐코하세요...