O.P. Button_SetCheckState problem
hi everyone,
Im writing a script that has an options dialog to configure some of its functions. For that purpose im using checkboxes. I wanted the script to read the configurations from a file and set the checkboxes accordingly.
But it gives me this error:
Error: Object doesn't support this property or method (code: -2146827850)
Here is the code:
if(newfile.Readline() == 1){
optionsWnd.Button_SetCheckState("Abreum",true);
}else{
optionsWnd.Button_SetCheckState("Abreum",false);
}
Thanks.
|