So I have a button box in a modal window, with two column selection boxes above it. The math later on could break if the two columns are the same, so I don't want the user to be able to click the same columns. I assume the simplest way to do this is to disable the button box until conditions are satisfied (both column selector boxes have a selection and don't have the same (assuming there are more than 1, which now that I think about it, I'll have to deal with that too. gah)). Anyway, I've tried to get the enable thing not working, following a staff member's suggestion here, but its not working and just continues on through the code. I'm assuming its because the enable isn't live, but I'm not sure why the staff member's code worked in the link I put above. What am I doing wrong?
New Window("Select Variables", << Type("Modal Dialog"),
H List Box(
V List Box(
Text Box("Select Major Variable"),
lbMajor = List Box(combinedCols, <<SET max="" selected=""></SET>