                                  - TOC-   1 -





 GVMsgBox - Unit ......................................................      1
 MessageBoxTitle - Funktion (Unit GVMsgBox) ...........................      1
 MessageBoxTitleRect - Funktion (Unit GVMsgBox) .......................      1
 CreateInputBox-Variable  (Unit GVMsgBox) .............................      2
 CreateMessageBox-Variable  (Unit GVMsgBox) ...........................      2
 HistoryInputBox - Funktion (Unit GVMsgBox) ...........................      2
 HistoryInputBoxRect - Funktion (Unit GVMsgBox) .......................      2


















































                                  - TOC-   1 -
                                    -    1 -






GVMsgBox - Unit
 

GVMsgBox ist eine Turbo-Pascal Unit und ist Teil des Graphics Vision
Paketes.
GVMsgBox stellt die Funktionen der TV Unit MsgBox in GV bereit.

Neben den bekannten Routinen der TV Unit existieren in Graphics Vision noch
einige weitere MsgBox-Routinen.
Nur diese sollen hier genannt werden. Die Funktion der Standardroutinen entnehmen
Sie bitte der TV - Dokumentation.

Die Meldungsfenster orientieren sich im Aussehen stark an Microsoft Windows.
Die Bitmaps (am linken Rand eines derartigen Fensters) werden durch die
Flags mfError, mfConfirmation, mfInformation sowie mfWarning festgelegt.

 Funktionen:

  MessageBoxTitle
  MessageBoxTitleRect
  HistoryInputBox
  HistoryInputBoxRect

  MessageBox      (siehe Pascal-Dokumentation)
  MessageBoxRect  (siehe Pascal-Dokumentation)
  InputBox        (siehe Pascal-Dokumentation)
  InputBoxRect    (siehe Pascal-Dokumentation)

 Variable:

  CreateInputBox
  CreateMessageBox

MessageBoxTitle - Funktion (Unit GVMsgBox)
 

 Deklaration:
   function MessageBoxTitle (Title, Msg: String; Params: Pointer;
     AOptions: Word): Word;

 Funktion:
Diese Routine erlaubt, neben den von MessageBox bekannten Optionen, die
Angabe der Fensterberschrift fr das Meldungsfenster.

 siehe auch:
   GVMsgBox
   MessageBoxTitleRect

MessageBoxTitleRect - Funktion (Unit GVMsgBox)
 

 Deklaration:
   function MessageBoxTitleRect (var R: TRect; Title, Msg: String;
     Params: Pointer; AOptions: Word): Word;




                  gvmsgbox, Page #   1   Date 22-7-1996 Monday
                                    -    2 -





 Funktion:
Diese Routine erlaubt, neben den von MessageBoxRect bekannten Optionen, die
Angabe der Fensterberschrift fr das Meldungsfenster.

 siehe auch:
   GVMsgBox
   MessageBoxTitle

HistoryInputBox - Funktion (Unit GVMsgBox)
 
 Deklaration:

 function HistoryInputBox(Title: String; ALabel: String; var S: String;
   Limit: Byte; AHistoryID: Word): Word;

 Funktion:

Diese Routine arbeitet wie InputBox, versieht aber die Eingabezeile
mit einem THistory-Objekt, dem es die ID AHistoryID zuweist.
 siehe auch:

   GvMsgBox
   HistoryInputBoxRect

HistoryInputBoxRect - Funktion (Unit GVMsgBox)
 
 Deklaration:

 function HistoryInputBoxRect(var Bounds: TRect; Title: String;
   ALabel: String; var S: String; Limit: Byte; AHistoryID: Word): Word;

 Funktion:

Diese Routine arbeitet wie InputBoxRect, versieht aber die Eingabezeile
mit einem THistory-Objekt, dem es die ID AHistoryID zuweist.
 siehe auch:

   GvMsgBox
   HistoryInputBox

CreateMessageBox-Variable  (Unit GVMsgBox)
 
 Deklaration:

const
  CreateMessageBox: function(var Bounds: TRect;
    ATitle, AText: string; AOptions: Word): PDialog = StdCreateMessageBox;

Die in dieser Prozedurvariable gespeicherte Prozedur wird aufgerufen,
um eine Messagebox zu erstellen. Sie knnen hier eine eigene Prozedur
eintragen, um alle Messageboxen in einem anderen Design ausgeben
zu lassen.

CreateInputBox-Variable  (Unit GVMsgBox)
 
 Deklaration:

const
  CreateInputBox: function(var Bounds: TRect;
    ATitle, ALabel: string; ALimit: Byte): PDialog = StdCreateInputBox;

Die in dieser Prozedurvariable gespeicherte Prozedur wird aufgerufen,



                  gvmsgbox, Page #   2   Date 22-7-1996 Monday
                                    -    3 -





um eine Inputbox zu erstellen. Sie knnen hier eine eigene Prozedur
eintragen, um alle Inputboxen in einem anderen Design ausgeben
zu lassen.






















































                  gvmsgbox, Page #   3   Date 22-7-1996 Monday
