Jump to content

Alternate text font/weight in ListViewItems


Recommended Posts

I can alternate the background and foreground color of lines but I can't get GuiCtrlSetFont to change any properties of the text. Is it a limitation or have I made an error?

$listitem[$i] = GUICtrlCreateListViewItem($item[$i][3] & "|" & $item[$i][4] & "|" & $item[$i][5] & "|" & $item[$i][1] & "|" & $item[$i][2] & "|" & $item[$i][0], $subListView)
            if StringInStr($item[$i][4], "example") > 0 Then
                GUICtrlSetFont($listitem, 8.5, 800)
            EndIf
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...