Listview item fontstyle

  • Thread starter Thread starter Tiago Salgado
  • Start date Start date
T

Tiago Salgado

I everyone... i'm having some problems when i'm trying to change a item
fontstyle in a listview (details view).

Code:

frmMain.FeedsList.Items(CInt(id1)).Font.Style = FontStyle.Regular

The problem is the property FontStyle is read-only. Can anyone help me
with this please ?

Thanks
 
Tiago Salgado said:
frmMain.FeedsList.Items(CInt(id1)).Font.Style = FontStyle.Regular

The problem is the property FontStyle is read-only. Can anyone help me
with this please ?

Create a new 'Font' object with the desired style (see 'Font' constructors)
and assign it to the item's
'Font' property.
 
Back
Top