Autor Beitrag
kreuzkrieter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Sa 03.04.04 22:43 
Hallo,

wie kann ich denn die Form1 ausblenden? Wenn ich form1.hide oder form1.visible:=false mache, ist sie trotzdem sichtbar! Habe ich aber noch eine Form, die auf visible:=true ist klappt es und form1 ist unsichtbar. ich möchte aber, dass man auf dem bilschirm gar nichts sieht. weiß jmd. wie ich das erreichen kann?
danke

Moderiert von user profile iconPeter Lustig: Thema verschoben und zweite Frage abgetrennt
NetZwerg
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 448

Slackware 10.1
Kylix 3, D5 Standard
BeitragVerfasst: So 04.04.04 08:37 
wie ich bei der zweiten frage schon gesagt habe, dein delphi is wohl n bisschen kaputt... was für ein delphi benutzt du denn? Bei mir funktionieren wieder mal beide möglichkeiten...

_________________
"Manche Leute drücken nur deshalb ein Auge zu, damit sie besser zielen können."
Billy Wilder, amer. Filmregisseur
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 04.04.04 11:08 
Schreib mal in dein FormCreate:
ausblenden Delphi-Quelltext
1:
Application.ShowMainForm := False;					

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
SuperS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 102

Win XP Home, Win XP Prof, Win 98

BeitragVerfasst: So 04.04.04 11:14 
:D Versuchs damit:

Form1.hide;
Form2.show;
Luzifer666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 41

Win XP
D6 Personal, D7 Personal
BeitragVerfasst: So 04.04.04 11:54 
Müsste an Delphi liegen, denn bei mir klappt ebenfalls sowohl Form1.hide; als auch Form1.visible:=false; bei nur einer Form...
Vielleicht haste dich auch nur irgendwo verschrieben? visible:=true oder so?

_________________
I can see unknown errors. 8[
Cya & enjoy!
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 04.04.04 12:03 
Es liegt ziemlich sicher nicht an Delphi..! Es kommt nur immer darauf an wo man versucht die Sichtbarkeit des Fensters zu ändern..!

@kreuzkrieter: was genau hast du denn vor und wann versuchst du denn Form1 zu verstecken? Im OnCreate-Ereignis?

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: So 04.04.04 14:44 
Also ich hab im Objktinspector "Visible:=false" eingestellt. Als das nicht ging hab ich im OnCreate "form1.hide" und form1.visible:=false" ausprobiert. Beim Starten des Programmes war die Programmoberfläche aber noch zu sehen.
Mit "ShellExecute (Handle, NIL, PCHAR('D:\Neuer Ordner\vnc\winvnc1.exe'), NIL, NIL, SW_hide);" will ich ein Programm starten, ohne dass man irgendeine Delphi-Form sieht.

@Motzi: Mit deinem Vorschlag funktioniert es!
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 04.04.04 15:05 
kreuzkrieter hat folgendes geschrieben:
Also ich hab im Objktinspector "Visible:=false" eingestellt. Als das nicht ging hab ich im OnCreate "form1.hide" und form1.visible:=false" ausprobiert. Beim Starten des Programmes war die Programmoberfläche aber noch zu sehen.

Deswegen ja auch mein obiges Posting... :roll:
Motzi hat folgendes geschrieben:
Schreib mal in dein FormCreate:
ausblenden Delphi-Quelltext
1:
Application.ShowMainForm := False;					

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!