Hi Guys,
first i want to say thank you. I found almost everything in this forum except for this. I'm having trouble setting the color of a Combobox item... I could change the caption, but this will actually interfere with other functions.
So basically what i want to do is, color a Item if a value is true.
I checked the forum for this but couldn't really find it.
Does anyone have an idea? I would really appreciate it.
first i want to say thank you. I found almost everything in this forum except for this. I'm having trouble setting the color of a Combobox item... I could change the caption, but this will actually interfere with other functions.
So basically what i want to do is, color a Item if a value is true.
[ autoit ]
Func LoadShow() Local $TVShowNames = IniReadSectionNames("TVJunkieData.ini") ;~ For $i = 1 To $TVShowNames[0] ;~ If IniRead("TVJunkieData.ini", $TVShowNames[$i] , "FlagD", "0") = 0 Then ;~ $TVShowNames[$i] = $TVShowNames[$i] ;~ ElseIf IniRead("TVJunkieData.ini", $TVShowNames[$i] , "FlagD", "0") = "S+" Then ;~ $TVShowNames[$i] = $TVShowNames[$i] & " --- NEW ---" ;~ Else ;~ $TVShowNames[$i] = $TVShowNames[$i] & " --- NEW ---" ;~ EndIf ;~ Next If $TVShowNames[0] > 10 Then $showdat = _ArrayToString($TVShowNames) $showdat2 = StringTrimLeft($showdat, 3) Else $showdat = _ArrayToString($TVShowNames) $showdat2 = StringTrimLeft($showdat, 2) EndIf GuiCtrlSetData($Combo1, "|" & $showdat2, "TV Show") ;ConsoleWrite(StringReplace(GUICtrlRead($Combo1), " --- NEW ---", "")) ReadEpisodes() CheckFlag() EndFunc
I checked the forum for this but couldn't really find it.
Does anyone have an idea? I would really appreciate it.