Autor Beitrag
boozzz
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 66

Win XP, Win 2000, SuSe Linux

BeitragVerfasst: Mi 04.01.06 00:45 
Hi,
wie kann man einen Teil eines Formulars unsichtbar machen?

Ich möchte nämlich mein Formular in zwei Teile aufteilen. Der eine Teil soll fest sein und der andere Teil soll mit Hilfe eines Buttons ein- und ausgeblendet werden können (unsichtbar gemacht werden können). Im ausgeblendeten Zustand soll der Desktop (oder was sich eben dahinter befindet) sichtbar sein.

Viele Grüße,
boozzz
Ironwulf
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 733
Erhaltene Danke: 2



BeitragVerfasst: Mi 04.01.06 00:48 
mmh ich würd da bei dem button klick das formular kleiner machen (Width, Height) und dann noch die scrollbars rausnehm
boozzz Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 66

Win XP, Win 2000, SuSe Linux

BeitragVerfasst: Mi 04.01.06 12:12 
gibt es denn keine Transparent-Funktion zum unsichtbar machen? Das Problem ist nämlich, dass das Formular nicht rechteckig sein soll.
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Mi 04.01.06 12:27 
vieleicht das??:
ausblenden Delphi-Quelltext
1:
2:
Form1.AlphaBlend:=true;
Form1.AlphaBlendValue:=10; //irgendein Wert von 0-255; 255 ist voll sichtbar
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: Mi 04.01.06 12:48 
Hallo,

manchmal frage ich mich welchen Zweck die Delphi-Library hat :roll:

:arrow: Delphi-Library: ...ein Form beliebig "verformen"?

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )