Thema: Delphi public function

Einzelnen Beitrag anzeigen

rotte

Registriert seit: 21. Mai 2009
9 Beiträge
 
#9

Re: public function

  Alt 2. Jun 2009, 16:17
Delphi-Quellcode:
unit UnitMain;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, jpeg, ExtCtrls;

type
  TFormMain = class(TForm)
    Button1: TButton;
    Button2: TButton;
    LabelHeader: TLabel;
    Label1: TLabel;
    Image1: TImage;
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private-Deklarationen }
  public
    function test:boolean;
  end;

  function test:boolean;

var
  FormMain: TFormMain;
  datei: textfile;

implementation

uses UnitMenu;

{$R *.dfm}

function test:boolean;
begin
 showMessage('test');
end;
  Mit Zitat antworten Zitat