Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

Radiobutton callback not working...

$
0
0

I am trying to change the visibility of controls in a window when the user clicks one of two radio buttons using the following callback functions. However, nothing happens when I click the radio buttons. I have also tried the onChange and onChanging events in addition to onClick with the same result. What am I doing wrong? Thanks.

 

function radioDoubleMatOnClick() {

  if (radioDoubleMat.value == true) {

  if (!patternIsInstalled(PATTERN_0)) outerMatPatternGroup.hide();

  innerMatPanel.show();

  }

}

 

 

function radioGlowOnClick() {

  if (radioGlow.value == true) {

  outerMatPatternGroup.hide();

  innerMatPanel.hide();

  }

}

 

 

radioDoubleMat.onClick = radioDoubleMatOnClick ();

radioGlow.onClick = radioGlowOnClick ();


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>