المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Intermittent paint problem



C# Programming
07-07-2009, 02:50 PM
I am using

item.SubItems.Add('\x6E'.ToString(), Color.FromArgb(row.DiaryActionRow.Color), diaryListView.BackColor, colorFont);

to display a coloured square within a listView column. It works fine, but now and then the listview displays a large red cross instead of the required columns and contents. Anyone know why this is please?

(I'm using VS8 to create the application)