stgzkr Posted November 2, 2014 Share Posted November 2, 2014 Arkadaslar Merhaba. Unidb grid ile şart bağlı olarak hucre veya satır renklendirme nasıl yapıyoruz. Quote Link to comment Share on other sites More sharing options...
iyarar Posted November 2, 2014 Share Posted November 2, 2014 dbgridin ondrawcolumncell olayına aşağıdaki kodu kendi şartlarına göre düzenleyip yazıman yeterli Try if Acol>0 then Begin if Not (UniDBGrid1.Columns[12].Field.Value=null) then Attribs.Color:=UniDBGrid1.Columns[12].Field.Value; If UniDBGrid1.Columns[13].Field.Value=3 Then Begin Attribs.Font.Color:=ClRed; Attribs.Font.Style:=[fsStrikeOut,fsBold]; End; End; Except End; 1 Quote Link to comment Share on other sites More sharing options...
stgzkr Posted November 4, 2014 Author Share Posted November 4, 2014 Teşekkürler idris bey. Quote Link to comment Share on other sites More sharing options...
Guest Huseyin Posted November 21, 2014 Share Posted November 21, 2014 Peki şart bağlı bir colonu tek renklendirmek istiyorsak Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.