Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Change background color of script ui window does not work

Engaged ,
Nov 26, 2018 Nov 26, 2018

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);

TOPICS
Scripting
544
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Nov 26, 2018 Nov 26, 2018
LATEST

I am using CC 2018

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines