Announcement

Collapse
No announcement yet.

MessageDlg

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • MessageDlg

    Wie kann ich bei einem MessageDlg mit mtCustom die Überschrift ändern? Im Moment steht da "Projekt1".
    Und wie Kann ich das Symbol Vor dem Label ändern?
    If it's there and you can see it – it's REAL
    If it's there and you can't see it – it's TRANSPARENT
    If it's not there and you can see it – it's VIRTUAL
    If it's not there and you can't see it – it's GONE!

  • #2
    RTFM

    Comment


    • #3
      Ich habe aber keine Gebrauchsanweisung.
      .
      Wat nu
      If it's there and you can see it – it's REAL
      If it's there and you can't see it – it's TRANSPARENT
      If it's not there and you can see it – it's VIRTUAL
      If it's not there and you can't see it – it's GONE!

      Comment


      • #4
        Na dann schreib mal "MessageDlg" hin, geh mit dem Cursour drüber und drück mal F1. Da kommt dann ne Hilfe. Da steht alles zu diesem Befehl drin

        Comment


        • #5
          Hi Christian,
          mit der Funktion MessageDlg aus der Unit Dialogs geht das nicht.
          Du musst statt Dialogs oder zusätzlich die Unit QDialogs in die Uses mit aufnehmen.
          Dann kann man mit:
          QDialogs.MessageDlg('Meldung', 'Das ist der Text', mtCustom,[mbOK], 0);
          die Caption des Dialogs beeinflussen.<BR>
          Fran

          Comment


          • #6
            ab welchem Delphi Funktioniert das?
            bei mir kommt folgende Fehlermeldung:
            [Fataler Fehler] Unit1.pas(6): Datei nicht gefunden: 'QDialogs.dcu
            If it's there and you can see it – it's REAL
            If it's there and you can't see it – it's TRANSPARENT
            If it's not there and you can see it – it's VIRTUAL
            If it's not there and you can't see it – it's GONE!

            Comment


            • #7
              > Du musst statt Dialogs oder zusätzlich die Unit QDialogs in die Uses mit aufnehmen.

              Wird denn dadurch nicht automatisch auch die QT-Bilbiothek gebunden und man muß auch die qtintf.dll mit ausliefern - schlechte Lösung

              > ab welchem Delphi Funktioniert das?

              Ab D6/7 ab der Pro-Version

              Comment


              • #8
                Wie wäre es mit Application.MessageBoxA(Text, Titel, Optionen)

                Comment

                Working...
                X