Autor Beitrag
NetZwerg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: So 14.03.04 12:49 
Hallo,

ich möchte so'ne art Menü machen. Aber sind ein Paar buttons, wenn ich da drauf klicke, soll unten jeweils ein anderer Text, andere Bilder etc erscheinen. Ich könnte es natürlich so machen, dass ich in delphi alle objekte erstelle und dann jeweils die objekte sichtbar machen, die in den gerade angewählten bereich passen. Das ist aber recht umständlich. Gibt es eine bessere lösung?

cYa, Dave :twisted:

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
derDoc
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 623

Win Vista Prof
D2007 Prof
BeitragVerfasst: So 14.03.04 12:53 
Natürlich kannst du den Text von Lables und Statics, sowie die Bilder von Images zur Laufzeit verändern.

ausblenden Delphi-Quelltext
1:
2:
3:
Lable1.Caption := 'Neu';
StaticText1.Caption := 'Was anderes';
Image1.Picture.LoadFromFile('EineBildDatei.bmp');

_________________
MfG derDoc
There are only 10 types of people: those who understand binary and those who don't.
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: So 14.03.04 13:29 
Ach, du meinst das ich halt ein Bild habe, das dann einfach nur seine quelle ändert oder das sich dann einfach nur der text von meinem Label ändert. Das ist guuuuut! :roll: Jupp, so mach' ich das. THX! :twisted:

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
NetZwerg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: So 14.03.04 15:00 
Ich könnte das doch auch über Panels machen, oder? Dann mache ich halt den panel unsichtbar, wenn er nicht gebraucht wird. Kann ich Panels irgendwie (möglichst) durchsichtig machen, sodass man den Hintergrund sieht?

cYa, Dave :twisted:

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur