Jump to content
Sign in to follow this  

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)

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.