二、程式目的: 因為我想要把被選取的項目以紅字標示,以便跟現有的進行區別(新勾選) 程式碼如下: Private Sub ListView1_ItemClick(ByVal Item As MSComctlLib.ListItem) If ListView1.ListItems(ListView1.SelectedItem.Index).Checked = True Then ListView1.SelectedItem.ForeColor = vbRed Else ListView1.SelectedItem.ForeColor = vbBlack End If End Sub
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers. Five Filters recommends: 'You Say What You Like, Because They Like What You Say' - http://www.medialens.org/index.php/alerts/alert-archive/alerts-2013/731-you-say-what-you-like-because-they-like-what-you-say.html
You are receiving this email because you subscribed to this feed at blogtrottr.com.