Skip to main content
Skip table of contents

setFontStyle (GUIUtils)

Versionshinweise

12.2

Code

GROOVY
GUIUtils.setFontStyle(int fontStyle, String... componentNames)

Beschreibung

Ändert den Schriftstil von GUI Komponenten, wie z.B. Beschriftungen, Schalter oder TaskPanes.

Parameter

  • fontStyle - Der neue Schriftstil, z.B. GUIConstants.FONTSTYLE_PLAIN.
  • componentNames - Eine kommaseparierte Liste von internen Komponentnamen, z.B. "MatchCode.Customer" or "Button123".

Beispiele

GROOVY
GUIUtils.setFontStyle(GUIConstants.FONTSTYLE_BOLD, "MatchCode.Customer", "Button123");
JavaScript errors detected

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

If this problem persists, please contact our support.