<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TOpenDialog]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>kann das Execute() des OpenDialog nur in einer __fastcall - Methode aufgerufen werden? Wenn nein, warum öffnet sich der Dialog nicht in einer selbst geschriebenen Methode?</p>
<p>Muss man noch etwas besonderes hinzufügen?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/153151/topendialog</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 05:42:49 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/153151.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Jul 2006 11:52:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 11:52:41 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>kann das Execute() des OpenDialog nur in einer __fastcall - Methode aufgerufen werden? Wenn nein, warum öffnet sich der Dialog nicht in einer selbst geschriebenen Methode?</p>
<p>Muss man noch etwas besonderes hinzufügen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097080</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097080</guid><dc:creator><![CDATA[skluge]]></dc:creator><pubDate>Thu, 13 Jul 2006 11:52:41 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 11:56:34 GMT]]></title><description><![CDATA[<p>__fastcall hat damit nichts zu tun</p>
<p>zeig mal den relevanten Quellcode</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097082</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097082</guid><dc:creator><![CDATA[Linnea]]></dc:creator><pubDate>Thu, 13 Jul 2006 11:56:34 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 11:59:16 GMT]]></title><description><![CDATA[<pre><code>int iEreignis = Application-&gt;MessageBoxA(&quot;Es konnte keine Initialisierungsdatei &quot;
                                               &quot;festgestellt werden.\nBitte geben sie &quot;
                                               &quot;den korrekten Dateipfad für die Datei &quot;
                                               &quot;\&quot;TimeCollect.ini\&quot; an&quot;, &quot;MELDUNG!&quot;,
                                               MB_OKCANCEL);

      if( iEreignis == 1 )
      {

         if( OpenDialog-&gt;Execute() )
         {
            m_asINIPfad = OpenDialog-&gt;FileName;
         }       

      }
      else
      {
         exit(0);
      }
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1097083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097083</guid><dc:creator><![CDATA[skluge]]></dc:creator><pubDate>Thu, 13 Jul 2006 11:59:16 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 12:00:29 GMT]]></title><description><![CDATA[<p>Er geht zwar bis an die Stelle des Execute(), aber er zeigt nicht den Dialog auf dem Bildschirm an!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097084</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097084</guid><dc:creator><![CDATA[skluge]]></dc:creator><pubDate>Thu, 13 Jul 2006 12:00:29 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 12:17:23 GMT]]></title><description><![CDATA[<p>Wenn ich den gleichen Code in eine __fascall - methode setze so geht es. Doch wenn ich es versuche in einer Klassenmethode auszuführe die ich selbst geschrieben habe, dann macht er das nicht!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097093</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097093</guid><dc:creator><![CDATA[skluge]]></dc:creator><pubDate>Thu, 13 Jul 2006 12:17:23 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 12:30:09 GMT]]></title><description><![CDATA[<p>Wenn deine &quot;selbstgeschriebene&quot; Methode KEIN Mitglied der Klasse des Formulars ist,und du die Komponente TOpendialog in dein Formular gezogen hast, musst du den Formularname voransetzen:</p>
<p>Form1-&gt;Opendialog1-&gt;Execute();</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097097</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097097</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Thu, 13 Jul 2006 12:30:09 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 12:31:37 GMT]]></title><description><![CDATA[<p>Warum heisst das bei dir MessageBox<strong>A</strong>??</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097098</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Thu, 13 Jul 2006 12:31:37 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 12:54:24 GMT]]></title><description><![CDATA[<p>Das geht trotzdem nicht! Er will einfach nicht angezeigt werden.<br />
Habe jetzt mal dein Tipp verfolgt und habe den Formnamen davor gesetzt.<br />
Kann es auch noch an etwas anderes liegen?</p>
<p>Weiß auch nicht warum das bei mir MessageBoxA heißt. Ein normales MessageBox gibt es bei mir garnicht!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097109</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097109</guid><dc:creator><![CDATA[skluge]]></dc:creator><pubDate>Thu, 13 Jul 2006 12:54:24 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 13:01:51 GMT]]></title><description><![CDATA[<p>Da wird mehr Code und Information benötigt:</p>
<p>Wo und wie hast du TOpenDialog erzeugt? (Manuell oder per Komponente)</p>
<p>Zeige die komplette Funktion, in der du dann TOpendialog aufrufst (von vorne bis hinten)</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097117</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097117</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Thu, 13 Jul 2006 13:01:51 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 13:37:35 GMT]]></title><description><![CDATA[<p>Der TOpenDialog habe ich als Komponente auf mein Form gezogen!</p>
<p>Hier mal die Funktion:</p>
<pre><code>void TAnmeldeFormular::ueberpruefeINIExistenz()
{

   m_asINIPfad = &quot;\E:\\TIME_COLLECT_ENTWICKLUNG\\TimeCollect\\TimeCollect.ini&quot;;

   if (FileExists(m_asINIPfad))
   {
      ;
   }
   else
   {
      int iEreignis = Application-&gt;MessageBoxA(&quot;Es konnte keine Initialisierungsdatei &quot;
                                               &quot;festgestellt werden.\nBitte geben sie &quot;
                                               &quot;den korrekten Dateipfad für die Datei &quot;
                                               &quot;\&quot;TimeCollect.ini\&quot; an&quot;, &quot;MELDUNG!&quot;,
                                               MB_OKCANCEL);

      if( iEreignis == 1 )
      {

         if( OpenDialog-&gt;Execute() )
         {
            m_asINIPfad = AnmeldeFormular-&gt;OpenDialog-&gt;FileName;
         }

      }
      else
      {
         exit(0);
      }

   }

}
</code></pre>
<p>Und hier ein Klassenausschnitt:</p>
<pre><code>class TAnmeldeFormular : public TForm
{
__published:	// Von der IDE verwaltete Komponenten
   TPanel *Panel1;
   TPanel *Panel2;
   TImage *Image;
   TLabel *Label1;
   TLabel *Label2;
   TLabel *Label3;
   TEdit *EditPasswort;
   TLabel *Label4;
   TLabel *Label5;
   TButton *ButtonOK;
   TButton *ButtonAbbruch;
   TLabel *Label6;
   TLabel *Label7;
   TLabel *LabelKontoAendern;
   TPanel *Panel3;
   TEdit *EditBenutzer;
   [b]TOpenDialog *OpenDialog;[/b]
   void __fastcall ButtonAbbruchClick(TObject *Sender);
   void __fastcall ButtonOKClick(TObject *Sender);
   void __fastcall EditPasswortKeyPress(TObject *Sender, char &amp;Key);
   void __fastcall LabelKontoAendernMouseEnter(TObject *Sender);
   void __fastcall LabelKontoAendernMouseLeave(TObject *Sender);
   void __fastcall LabelKontoAendernClick(TObject *Sender);

....

};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1097139</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097139</guid><dc:creator><![CDATA[skluge]]></dc:creator><pubDate>Thu, 13 Jul 2006 13:37:35 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 14:13:52 GMT]]></title><description><![CDATA[<p>Kann nix erkennen bezüglich des Dialoges</p>
<p>Schicke mir das Projekt mal zu <a href="mailto:cecke@marquardtnet.info" rel="nofollow">cecke@marquardtnet.info</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097164</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097164</guid><dc:creator><![CDATA[Christian211]]></dc:creator><pubDate>Thu, 13 Jul 2006 14:13:52 GMT</pubDate></item><item><title><![CDATA[Reply to TOpenDialog on Thu, 13 Jul 2006 14:19:30 GMT]]></title><description><![CDATA[<p>Hab das Problem erst mal umgangen, mache da aber morgen weiter! Werde mich dann nochmal melden! Danke aber schon mal für die Hilfe!</p>
<p>Gruß</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1097169</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1097169</guid><dc:creator><![CDATA[skluge]]></dc:creator><pubDate>Thu, 13 Jul 2006 14:19:30 GMT</pubDate></item></channel></rss>