listview with compact framework
-
hi the application is written in .net compact framework 1.0. i need to display a list of items with different forecolor for each item. the items get added to the list from a file. i have two problems: 1. the items get added but i get a horizontal scrollbar by default. i just want them too be added to the end like that in a listbox. 2. how do i set the forecolor of individual items? thanks.
-
hi the application is written in .net compact framework 1.0. i need to display a list of items with different forecolor for each item. the items get added to the list from a file. i have two problems: 1. the items get added but i get a horizontal scrollbar by default. i just want them too be added to the end like that in a listbox. 2. how do i set the forecolor of individual items? thanks.
i got the way to get view the items in a list with vertical scrollbar but the second problem still remains... does anyone have any suggestions??? thanks.
-
i got the way to get view the items in a list with vertical scrollbar but the second problem still remains... does anyone have any suggestions??? thanks.
For each item in listview you have to set the color like this.listView1.Items[0].ForeColor = System.Drawing.Color.Red; this.listView1.Items[0].ForeColor = System.Drawing.Color.Blue;