Skip to main content
bagonterman
Inspiring
November 26, 2018
Question

Change background color of script ui window does not work

  • November 26, 2018
  • 1 reply
  • 597 views

Is this a lost cause. Just wondering. Because I have tried this several different ways and have been unsuccessful.

var myIDinfo = new Window("palette", "Imaging_Tool_1.2b");

// var applyGFX = myIDinfo.graphics;

// var applyGFX_bgColor = applyGFX.newPen(applyGFX.BrushType.SOLID_COLOR, [0, 1, 0], 1);

myIDinfo.graphics.backgroundColor = myIDinfo.graphics.newBrush(myIDinfo.graphics.BrushType.SOLID_COLOR, [0.9, 0.7, 0.7], 1);

This topic has been closed for replies.

1 reply

bagonterman
Inspiring
November 26, 2018

I am using CC 2018