Hello,
I've been stuck on this for most of the day. (Grrrr) The GUI Opens with some checkboxs created from DATA found in an INI file. (88 in total)
Later in the script I have a funtction that checks the to see if the path under that INI key is still active on the network. (That part works) If it's not I want to change the color of the Data to Red. So if let say \\Server\Setup.exe from $Installs[1] is good then $APP_CHKBOX[1] the same. (Black) But if \\Server2\Setup2.exe is not good the $Installs[2] under $APP_CHKBOX[2] would show up RED!
The problem is I can get it to work with any thing i do. For example i tried this once.
GUICtrlSetColor($APP_CHKBOX[1],0x00bb00)
Example of GUI Code:
$APP_CHKBOX[1] = GUICtrlCreateCheckbox($Installs[1],30,200) ;Checkbox 1
$APP_CHKBOX[2] = GUICtrlCreateCheckbox($Installs[2] ,30,220) ;Checkbox 2
$APP_CHKBOX[3] = GUICtrlCreateCheckbox($Installs[3] ,30,240) ;Checkbox 3
$APP_CHKBOX[4] = GUICtrlCreateCheckbox($Installs[4] ,30,260) ;Checkbox 4
$APP_CHKBOX[5] = GUICtrlCreateCheckbox($Installs[5] ,30,280) ;Checkbox 5
ANY IDEAS????