Autor Beitrag
Marco15
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: Mi 27.07.05 14:09 
Guten Tag!

Ich möchte gerne wissen, ob man die Größe eines Panels während der Laufzeit irgendwie ändern kann.

Ist das möglich, wenn ja wie!


Moderiert von user profile iconGausi: Topic aus Sonstiges verschoben am Mi 27.07.2005 um 17:42

_________________
Ich bin nur Schüler.
mehmeh
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 97

WIN XP
D5 Prof
BeitragVerfasst: Mi 27.07.05 14:17 
sicherlich

ausblenden Delphi-Quelltext
1:
2:
Panel.Width := ...
Panel.High := ...


jetzt noch die werte einsetzen und das ganze in die entsprechende Prozedure
Marco15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: So 31.07.05 13:26 
Nein ich meinte eigentlich, dass mandas Panel dann mit der Maus vergrößern kann.
Geht das????

_________________
Ich bin nur Schüler.
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 31.07.05 13:29 
Schonmal was von TSplitter gehört?

AXMD
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 31.07.05 13:30 
Hast du es schon mal mit "Splitter" probiert? Ich weiss nicht genau, wie deine Form designed ist, aber in der Regel dürfte das damit zu machen sein.

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

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: So 31.07.05 13:31 
Nein, nicht wirklich, gibts den bei delphi7 ?

_________________
Ich bin nur Schüler.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 31.07.05 13:33 
ganz bestimmt sogar. Den Splitter findest du unter "Zusätzlich". Zum ausprobieren setz einfach mal zwei Panels auf eine Form und dazwischen einen Splitter, um zu sehen, was das Ding macht.

_________________
We are, we were and will not be.
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 31.07.05 13:34 
user profile iconMarco15 hat folgendes geschrieben:
Nein, nicht wirklich, gibts den bei delphi7 ?


Ja. Einfach mal in der Hilfe nachsehen.

AXMD
Marco15 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 98

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: So 31.07.05 13:38 
das ding macht gar nichts.!

_________________
Ich bin nur Schüler.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 31.07.05 13:42 
Von alleine nicht, nein. :lol: Schon mal mit der Maus drübergefahren? Und dann linke Taste gedrückt und Maus dabei bewegt?

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

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: So 31.07.05 13:44 
ja aber es tut sich nichts!?

_________________
Ich bin nur Schüler.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8548
Erhaltene Danke: 477

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: So 31.07.05 13:48 
ok...du musst natürlich das Align vom linken Panel auf alLeft stellen, dann den Splitter, und das rechte Panel auf alLeft oder alClient stellen. Dann sollte aber was passieren... :roll:

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

Win XP Prof.
D2 Schüleredition, D7
BeitragVerfasst: So 31.07.05 13:50 
Jo danke et funzt...

_________________
Ich bin nur Schüler.