Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checked list Box
Message
De
17/12/2004 14:30:15
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
Checked list Box
Divers
Thread ID:
00970152
Message ID:
00970152
Vues:
58
Hi all,

Does anyone have any idea how to change the font in a checked list box for a specific index in the items collection?

Something like what i am trying below
Dim strsrch As String() = Split(Me.RichTextBox1.Text, " ")
Dim str As String
Dim index As Integer

For Each str In strsrch
For index = 0 To CheckedListBox1.Items.Count - 1
If InStr(Me.CheckedListBox1.Items.Item(index).ToString(), str) Then
Me.CheckedListBox1.SetSelected(index, True)
'Above works in that it selects the last ne foun but checked list does not
'allow multi select for some reason
me.CheckedListBox1.Items.???
' Me.CheckedListBox1.Items(index).forecolor = System.Drawing.Color.Red
End If

Next
Next
Répondre
Fil
Voir

Click here to load this message in the networking platform