Autor Beitrag
Ironhead
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57

Win XP,Kanotix 5

BeitragVerfasst: Sa 03.06.06 11:16 
Hallo da bin ich wiedermal,

Ich habe folgendes Problem. Ich habe eine Form mit einer Profilangabe, und das Profil soll in Labels auf der nächsten Form angezeigt werden, das iss auch nich das Problem.
Nun, ich habe die Labels wo dann Vor und Zuname erscheint schön aneinandergesetzt, bei einem Eintrag von langen Name wird Label2 abgeschnitten oder der Eintrag von Label1 wird unter Label2 geführt und taucht danach wieder auf.

Also gibt es ne möglichkeit die Labels so anzupassen das sobalt ein Eintrag länger wird das sich das Label hahinter automatisch mitverschiebt und beide Labels schön beieinanderliegen.

Ich hoffe ich hab es so beschrieben das es verstanden wurde?
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Sa 03.06.06 11:19 
Probier mal WordWarp auf true zu setzen.

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Sa 03.06.06 11:24 
Wenn ich dich richtig verstanden habe, dann hast du mehrere Labels nebeneinander, was bei unterschiedlichen Längen Probleme macht, richtig?

Ich würde dann AutoSize der Label auf True setzen, und dann die jeweils anderen Label entsprechend verschieben.

Besser wäre natürlich, wenn du alle Infos in ein Label schreiben könntest, dann würde WordWrap was helfen.

_________________
We are, we were and will not be.
Ironhead Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57

Win XP,Kanotix 5

BeitragVerfasst: Sa 03.06.06 11:29 
Irgendwie funzt das alles net, das wird trotzdem immer abgeschnitten
Ironhead Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 57

Win XP,Kanotix 5

BeitragVerfasst: Sa 03.06.06 12:14 
Danke hat sich erledigt, es geht jetzt