Autor Beitrag
Melcho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 145

XP

BeitragVerfasst: Mi 31.03.04 07:28 
Morgen Leute,
Ich habe ein Problem
Ich habe 9 TabSheets
die sollen alle unsichtbar sein und wenn man auf der Hauptform ein Thema auswählt soll nur das ausgewählte Thema sichtbar sein.
Ich habe die einzelnen TabSheets aus Visible False gesetzt und wenn ich aufrufe auf true.

fbasisdaten.show;
fbasisdaten.TSBranche.Visible:=true;


Aber dann ist garnichts zu sehen eine leere Form?

Also habt ihr vielleicht eine Lösung zu dem Problem?
:nixweiss: :nut:

_________________
PCP saved my life
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Mi 31.03.04 08:50 
Hallo,

probier mal tabvisible auf false zu setzen (mußt du einmalig am anfang tuene, z.B. formcreate). Dann blendest du alle Reiter aus und siehst dann nur den inhalt eines Tabsheets. und wenn du von außerhalb ein Tabsheet setzen willst, nutzt du activepageindex des Pagecontrols um das entsprechende Sheet anzuzeigen.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)