Autor Beitrag
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 05.04.06 17:17 
Hallo!

Ich möchte in den Optionen möchte meines Programms ein TreeView einfügen in dem man die verschiedenen Kategorien auswählen kann und dann etwas wie ein PageControl nur ohne diese Reiter um dann je nach ausgewähltem Item bestimmte Komponenten anzeigen zu lassen..

Wie kann ich das am besten anstellen? :nixweiss:


geeetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
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: Mi 05.04.06 17:26 
Nimm das PageControl und setz ins Oncreate der Form das:
ausblenden Delphi-Quelltext
1:
Tabsheet1.TabVisible := False;					

Natürlich für jedes TabSheet auf dem PageControl. Im TreeView Click/Change setzt du dann die Seite manuell um.

_________________
We are, we were and will not be.
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 05.04.06 18:05 
Dann ist ja nichts mehr sichtbar, ich möchte aber, dass nur der obere Teil nicht sichtbar ist in dem man die Tabs auswählen kann und stattdessen diese Platz frei ist


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
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: Mi 05.04.06 18:14 
öh, nein? Tabvisible, nicht einfach nur visible. Probiers aus, es geht ;-)

_________________
We are, we were and will not be.
Born-to-Frag Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Mi 05.04.06 18:18 
:oops:

Du hast recht, der Fehler lag im TreeView.. ich habe SelectionCount genommen :lol:
Danke!


greetz

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.