As stated in the original post, it is the line that changes the backcolor that is failing - it's not giving an error, it simply isn't doing anything. For example, if I were to set the mysel variable to 22 and then run these two lines of code, slides_dialog_sld23 should be given a backcolor of 25 and a highlight of 1 but all I'm getting is the highlight - the backcolor is staying as defined in the original dialog code.