Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Delphi 6]: TEdit.Text zentrieren

Empfohlene Antworten

Hallo,

wie kann ich ein TEdit-Feld also z.B. Edit1 zentrieren, ich meine nicht das Feld an sich sonder den Inhalt, also Edit1.Text.

So wie ich das gesehen hab gibt es kein TAlignment.

Google hat mir auch nicht wirklich weiter geholfen.

Irgendwie muss das doch gehen, oder?

Ist der Weg so einfach das ich ihn nicht sehe?

Keine Ahnung, vllt. hat jmd. von euch ne Idee oder einen Tipp.

wie kann ich ein TEdit-Feld also z.B. Edit1 zentrieren, ich meine nicht das Feld an sich sonder den Inhalt, also Edit1.Text.

Gar nicht. Das TEdit unterstützt keine Ausrichtung, das hast du schon richtig gesehen. Entweder du benutzt andere Komponenten dafür (gibt es genug Komponentensammlungen o.ä., kann ich dir keine spezielle nennen jetzt), oder du überschreibst die Paint-Methode (? müsstest du vorher auch nochmal nachsehen) der TEdit Klasse.

  • Autor

Hallo JesterDay,

danke für den Tipp, aber was ich bis jetzt gesehen hab ist das recht kompliziert.

So wichtig ist das dann auch nicht bzw. der Kostennutzen-Faktor ist dann zu gering.

--> Edit 1:

Wenn ich nebenbei noch Zeit hab schau ich mal ob ich das nicht doch hinbekomme. :D

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.