Autor Beitrag
Mindforce
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Sa 28.10.06 18:39 
Hi,

hab nun ein Problem mit ShowModal!

user defined image
und...
user defined image

Thx für Hilfe!

M!ndforce


Moderiert von user profile iconUGrohne: Topic aus Sonstiges (Delphi) verschoben am Sa 28.10.2006 um 18:59

_________________
Our force; in mind.
jakobwenzel
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1889
Erhaltene Danke: 1

XP home, ubuntu
BDS 2006 Prof
BeitragVerfasst: Sa 28.10.06 18:47 
Das Fenster is schon sichtbar, wenn das ShowModal ausgeführt wird.

_________________
I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
Mindforce Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 358

Win XP Pro / MCE, Win 98, Slax (Linux)
Delphi 07 PRO, Delphi 3+7 (mit Prdx)
BeitragVerfasst: Sa 28.10.06 18:49 
Ich dachte ShowModal heisst, das er es ausführt und das 1. fenster anhält.

geht mal wieder nix...

_________________
Our force; in mind.


Zuletzt bearbeitet von Mindforce am Sa 28.10.06 18:53, insgesamt 1-mal bearbeitet
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Sa 28.10.06 18:53 
Zitat:
Ich dachte ShowModal heisst, das er es ausführt und das 1. fenster anhält.
Stimmt ja auch, nur darf das zu öffnene Fenster nichz schon offen sein!
P.S: Könntesrt du das Bild in den Anhang legen.

_________________
Markus Kinzler.
oldmax
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 380


D3 Prof, D4 Prof
BeitragVerfasst: Sa 28.10.06 20:10 
Hi
um ein ShowModal hinzubekommen, mache ich in meiner "Uralt" Version (D 3) folgendes.
Unter Project -> Optionen -> Formulare Schiebe ich das Formular aus der automatischen Formularerstellung nach rechts in die Rubrik Verfügbare Formulare, in deinem Fall Form3.
Willst du dieses Formular nun von Programm her ansprechen so folgt



ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
   
    Application.CreateForm(TForm3, Form3); // Formular erstellen
    Form3.Visible:=False;                  // Visble auf false
    Form3.ShowModal;                       // ShowModal
    Form3.Free;                            // und nach Schließen wieder Speicher freigeben


So funktionierts bei mir.
Gruß oldmax

_________________
Zier dich nich so, ich krieg dich schon....