Jump to content

unigui şart bağlı satır renklendirme


stgzkr

Recommended Posts

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;
  • Upvote 1
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...