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

Button - Zeilenumbruch in Beschriftung einfügen

Community Beginner ,
Aug 04, 2024 Aug 04, 2024

Hallo,

 

ich möchte einen Button in einem Formular zweizeilig beschriften.

In der Schriftgröße kann ich nur "Auto" auswählen, dann bleibt der Text allerdings einzeilig.

Ist es irgendwie möglich einen Zeilenumbruch in der Beschriftung einzufügen, sodass mein Text in zwei Zeilen angezeigt wird?

TOPICS
PDF , PDF forms
651
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
1 ACCEPTED SOLUTION
Community Expert ,
Aug 04, 2024 Aug 04, 2024

Das, was du willst. Ist doch nur'n Beispielcode. 

View solution in original post

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
Community Expert ,
Aug 04, 2024 Aug 04, 2024

Das geht nur per JavaScript-Befehl. Einfach die Konsole mit der Tastebkombination Strg+J öffnen und einen Befehl wie diesen eingeben und mit Strg+Enter ausführen.

this.getField("Schaltfläche1").buttonSetCaption("Mehrere\nZeilen");

 

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
Community Beginner ,
Aug 04, 2024 Aug 04, 2024

Vielen Dank für die schnelle Antwort.

 

quote

Das geht nur per JavaScript-Befehl. Einfach die Konsole mit der Tastebkombination Strg+J öffnen und einen Befehl wie diesen eingeben und mit Strg+Enter ausführen.

 

this.getField("Schaltfläche1").buttonSetCaption("Mehrere\nZeilen");

 

 


By @radzmar

 

Was muss genau bei "Mehrere\nZeilen" eingetragen werden? Meine Beschriftung oder tatsächlich der Begriff "Mehrere\nZeilen" ?

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
Community Expert ,
Aug 04, 2024 Aug 04, 2024

Das, was du willst. Ist doch nur'n Beispielcode. 

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
Community Beginner ,
Aug 04, 2024 Aug 04, 2024
LATEST

Dankeschön

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