Thanks for the quick replies.
Yes i have created the control earlier in the script.
Sorry i cannot get
ConsoleWrite('DebugInfo: ' & ControlGetText('You Guititle', '', $GUICtrlarr[$i][0] 6@TAB & 'CtrlID: ' & $GUICtrlarr[$i][0])
to work. When i run consoleWrite($GUICtrlarr[$i][0]) i get a value of 1, which is right at that point in the script . When i run the same statement after GUICtrlSetState($GUICtrlarr[$i][0],4) It still shows the value of 1.
Any ideas?