Skip to main content
Skip table of contents

setTextColor (GUIUtils)

Versionshinweise

12.2

Code

GROOVY
GUIUtils.setTextColor(Color textColor, String... componentNames)

Beschreibung

Ändert die Textfarbe von GUI Komponenten, wie z.B. Beschriftungen, Schalter oder TaskPanes.

Parameter

  • textColor - Die neue Textfarbe, z.B. GUIConstants.COLOR_TEXT oder new Color(0-255 Rot, 0-255 Grün, 0-255 Blau).
  • componentNames - Eine kommaseparierte Liste von internen Komponentnamen, z.B. "MatchCode.Customer" or "Button123".

Beispiele

GROOVY
GUIUtils.setTextColor(GUIConstants.COLOR_TEXT, "MatchCode.Customer", "Button123");
GUIUtils.setTextColor(new Color(0, 255, 0), "MatchCode.Customer", "Button123");
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.