Autor Beitrag
hibbert
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Do 23.06.05 23:53 
Hi,
ich suche eine Label-Komponente, die mir um jeden Buchstaben des Lables eine Kontur zieht.

thx hibbert


Moderiert von user profile iconTino: Topic aus Sonstiges verschoben am Fr 24.06.2005 um 09:30

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Fr 24.06.05 08:33 
guten morgen!

einen richtige lösung kann ich dir nicht sagen aber einen Link wo du eventl fündig wirst: www.torry.net Vielleicht hast du ja glück und findest das passendet.

lg martin
Harry Hunt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 50



BeitragVerfasst: Fr 24.06.05 08:35 
Schau dir mal das StaticLabel von Delphi an.
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Fr 24.06.05 09:01 
Das haben die JEDI's (www.delphi-jedi.org) und jede vernüünftige Komponentensammlung (z.B. rmControls, FlatStyle, ...) von Haus aus mit dabei.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Lossy eX
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1048
Erhaltene Danke: 4



BeitragVerfasst: Fr 24.06.05 11:13 
Er möchte es aber um jeden Buchstaben haben. Ich denke mal, das ist nicht ganz so häufig vertreten. Verbessert mich, wenn ich da falsch liege.

Aber für den Fall, dass du in einer Stunden suche nicht fündig wirst kann ich dir nur empfehlen dir entweder selber eine Komponente zu schreiben oder eine zu verwenden und die entsprechend zu erweitern. Ich denke da an eine TPaintBox. Mit der kannst du super leicht zeichnen. Musst dann deinen Text allerdings woanders ablegen. Weswegen sich eigentlich eine eigene Komponente anbieten würde. Eben schon darum, dass es alles sinnvoll gekappselt wird.

PS: Die Quick und Dirty Methode wäre unter anderem auch die Verwendung von TShape zum zeichnen des Viereckes und die Verwendung von TLabel zum Darstellen eines Buchstabens. Und dann entsprechend viele um deinen gesammten Text darzustellen. Wenn er immer ein und die selbe Länge hat kannst du das auch zur Designzeit designen anderenfalls dann dynamisch im Quellcode erstellen.

_________________
Nur die Menschheit ist arrogant genug, um zu glauben sie sei die einzige intelligente Lebensform im All. Wo nicht mal das nachhaltig bewiesen wurde.
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Fr 24.06.05 13:27 
mhh jupp danke der tipp mit dem umbasteln einer komponente hat wirklich funktioniert....

ich hatte schon eine komponente gefunden, doch die hat nur auf ein mouseover reagiert...

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej