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

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Di 23.11.04 23:14 
Hi,
ich kann mich mal dunkel daran erinnern, dass ich durch zufall irgfendwas für Delphi installiert habe (eine Komponente oder so was). Diese hat bewirkt, dass ich die Caption eines normalen Labels mehrzeilig machen konnte.

Beim Memo gibt es ja bei der Eigenschaft "Lines" diese dreit Punkte. Klickt man diese an, so öffnet sich ein neues Fentser und man kann einen mehrzeiligen Text eingeben. Das hatte ich auch einmal für meine Labels, doch dann musste ich mal wieder meinen PC Formatieren und alles war weg :(

Gibt es vielleicht eine Komponente, mit der ich das machen kann ??

thx hibbert

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



BeitragVerfasst: Di 23.11.04 23:27 
hibbert hat folgendes geschrieben:
Diese hat bewirkt, dass ich die Caption eines normalen Labels mehrzeilig machen konnte.

Automatischen Umbruch kannst du mit der Eigenschaft WordWrap von TLabel machen. Und deinen eigenen machst du so...
ausblenden Delphi-Quelltext
1:
Label1.Caption := '1. Zeile' + #13#10 + '2. Zeile';					

_________________
Ciao, Sprint.
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: Di 23.11.04 23:32 
Wenn ich mich richtig erinnere ist sowas entweder in den GExperts oder der JediVCL enthalten.

_________________
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.
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Di 23.11.04 23:39 
Sprint hat folgendes geschrieben:
hibbert hat folgendes geschrieben:
Diese hat bewirkt, dass ich die Caption eines normalen Labels mehrzeilig machen konnte.

Automatischen Umbruch kannst du mit der Eigenschaft WordWrap von TLabel machen. Und deinen eigenen machst du so...
ausblenden Delphi-Quelltext
1:
Label1.Caption := '1. Zeile' + #13#10 + '2. Zeile';					

Ja das weiß ich ja schon, das habe ich schon erfahren, als ich hiernach gesucht habe:Suche in: Delphi-Forum, Delphi-Library MEHRZEILIGES LABEL, doch das bringt mir auch nichts, wenn ich schon beim gestalten das Programmes sehen möchte, wie es ausieht...

hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
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: Mi 24.11.04 00:44 
Naja, da bliebe noch eine Möglichkeit, die aber etwas umständlich ist:

1. Auf Formular Alt+F12 drücken,
2. den Eintrag für dein Label suchen
3.
ausblenden Delphi-Quelltext
1:
2:
AutoSize = True
Caption = 'Zeile 1'#13#10'Zeile 2'

bei dem gewünschten Label eintragen

4. Erneut Alt+F12 drücken.
5. Evtl. AutoSize auf False und erneut auf True setzen.

Moderiert von user profile iconChristian S.: Code- durch Delphi-Tags ersetzt.

_________________
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.
jaevencooler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 166
Erhaltene Danke: 6

MS-DOS,Win32, Win95, Win 98, Me,XP, Linux, NT4.0, NT 2000-2008, Vista, Windows 7
Turbo Pascal,D1 Enter,D2 Enter,D3 Enter,D5 Enter, Kylix, D2007, PL/SQL, MS/SQL, Delphi 2010, Delphi XE
BeitragVerfasst: Mi 24.11.04 08:25 
Guten Morgen,


hibbert hat folgendes geschrieben:
Hi,
ich kann mich mal dunkel daran erinnern, dass ich durch zufall irgfendwas für Delphi installiert habe (eine Komponente oder so was). Diese hat bewirkt, dass ich die Caption eines normalen Labels mehrzeilig machen konnte.


<< Soweit ich weiß, erhältst Du diese Eigenschaften wenn Du die RX-Lib installierst.... :P


Gruß
Michael

Moderiert von user profile iconChristian S.: Quote-Tag repariert
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: Mi 24.11.04 09:11 
D.H., da die RXLib in dem Sinne net mehr existiert, dass Du dir die JVCL holen solltest.

_________________
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.
jaevencooler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 166
Erhaltene Danke: 6

MS-DOS,Win32, Win95, Win 98, Me,XP, Linux, NT4.0, NT 2000-2008, Vista, Windows 7
Turbo Pascal,D1 Enter,D2 Enter,D3 Enter,D5 Enter, Kylix, D2007, PL/SQL, MS/SQL, Delphi 2010, Delphi XE
BeitragVerfasst: Mi 24.11.04 09:33 
Moin,Moin,

BenBE hat folgendes geschrieben:
D.H., da die RXLib in dem Sinne net mehr existiert, dass Du dir die JVCL holen solltest.


Oder so....

Gruß
Michael
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Mi 24.11.04 15:50 
mhh, beim installieren der JVCL - Komponenten bekomme ich diese Fehlermeldung:
JEDI Installer hat folgendes geschrieben:

Installation of E:\Delphi7\jedi\JVCL\packages\JVCL200_D60Personal.dpk failed. Try running the installer again. If it still doesn't work, try doing a manual install from Delphi.


mhh, hört sich nicht gut an.... :cry:

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