Autor Beitrag
Martok
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: So 18.05.08 17:51 
Hallo!

Wie der Titel schon sagt: ich suche eine Alternative zu TNotebook. Ich möchte mehrere 'Seiten' erstellen können und dann Umschalten.
Das TNotebook selber will irgendwie nicht so, es will mir nicht gelingen die Komponenten darauf auf die richtige Seite zu packen. Ich stelle eine Seite ein, setz die Komponenten drauf und dann schaltet der auf eine ganz andere Seite und setzt die da hin :roll:

TPageControl geht auch nicht, diesen 3D-Rand kann ich nicht brauchen.

Irgendwelche Vorschläge (außer Panels zu nehmen und die einzeln BringToFront'en)?

mfg
Martok

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: So 18.05.08 18:17 
Hallo, setze beim Pagecontrol den Style auf tsFlatButtons. Dann wird kein Rand angezeigt.

Die Buttons kannst du zur Laufzeit verstecken:
ausblenden Delphi-Quelltext
1:
2:
  for I := 0 to PageControl1.PageCount - 1 do
      PageControl1.Pages[I].TabVisible := False;
Martok Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 3661
Erhaltene Danke: 604

Win 8.1, Win 10 x64
Pascal: Lazarus Snapshot, Delphi 7,2007; PHP, JS: WebStorm
BeitragVerfasst: So 18.05.08 21:03 
Bei FlatButtons wird alles flat? Ahja, ok. :oops:

Ich hatte ja nach sowas wie der Ctl3D-Eigenschaft gesucht, aber die gabs nicht ;)

Das mit dem Tabs ausblenden ist dann klar, danke!

_________________
"The phoenix's price isn't inevitable. It's not part of some deep balance built into the universe. It's just the parts of the game where you haven't figured out yet how to cheat."