Autor Beitrag
steve-allround
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59

Linux, Windows

BeitragVerfasst: Sa 01.10.05 15:37 
Hallo.

Also, ich habe oben in der Menüleiste ein MainMenu und möchte nun, wenn ich dort einen Eintrag anklicke also in diesem Quelltext:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.Berechnung11Click(Sender: TObject);

begin

 end;


soll nun ein TabSheet angezeigt werden. Also ich habe ein PageControl und mehrere Tabsheets.

Kann mir jemand Helfen und den (ich glaube) kleinen Quelltext geben?

Vielen Dank.

Wenn mein kleines Projekt fertig ist, werde ich es mal hier präsentieren.

Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt.
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Sa 01.10.05 20:33 
Hallo,

erstmal :welcome: in der EE (Entwickler-Ecke)

z.B. damit bringst Du das erste TabSheet nach vorne:
ausblenden Delphi-Quelltext
1:
PageControl1.ActivePage := PageControl1.Pages[0];					


Ps.: 'Über Menü Tabsheet anzeigen' wäre ein besserer Titel für dieses Thema :wink:

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
steve-allround Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 59

Linux, Windows

BeitragVerfasst: Mo 03.10.05 19:25 
danke, du hast mir sehr geholfen.