Bu işlem için GridPaintCell event'ı kullanılması gerekmektedir aşağıdaki kod ile renklendirme işlemini gerçekleştirebilirsiniz.
if (ctrl="GridList1") and (row>0)then
GetCellText("GridList1",row-1,10002,MSpeCodeiyz)
if MSpeCodeiyz = "Tamamlandı " then
backColor=7
fontColor=15
elseif MSpeCodeiyz = "Fiş Bulunamadı " then
backColor=9
fontColor=15
elseif MSpeCodeiyz = "Öneri " then
backColor=16
fontColor=2
elseif MSpeCodeiyz = "Sevkedilemez " then
backColor=9
fontColor=15
elseif MSpeCodeiyz = "Sevkedilebilir " then
backColor=7
fontColor=15
elseif MSpeCodeiyz = "İrsaliye Oluşturulmamış" then
backColor=9
fontColor=15
elseif MSpeCodeiyz = "İrsaliye Aşamasında " then
backColor=16
fontColor=2
elseif MSpeCodeiyz = "Faturası Oluşturuldu " then
backColor=7
fontColor=15
elseif MSpeCodeiyz = "Nakliye Oluşturulmadı " then
backColor=9
fontColor=15
elseif MSpeCodeiyz = "Nakliye Oluşturuldu " then
backColor=7
fontColor=15
elseif MSpeCodeiyz = "Sevkiyat Yolda " then
backColor=16
fontColor=2
elseif MSpeCodeiyz = "Sevkiyat Tamamlandı " then
backColor=7
fontColor=15
elseif MSpeCodeiyz = "Nakliye Oluşturulmadı " then
backColor=9
fontColor=15
end if
end if
Cevap vermek için giriş yapmanız gerekmektedir.
Soru sormak için lütfen oturum açınız.
Logo Object Designer içerisinde LGridList 'de satır renklendirilmesi nasıl yapılır.
06/08/15 16:42   Tiger/Logo Object Designer (LOD)LOD da GridList ‘te satırları duruma göre renklendirme yapmak istiyoruz.
Bu işlem için GridPaintCell eventi kullanılabilirmi?
Kullanım ile ilgili örnek kod göndermenizi rica ederiz.
LOD Grid