unit Main;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, Grids, DBGrids, Buttons, ComCtrls, ExtCtrls, DataModule;
  

type
  TFMain = class(TForm)
    Panel1: TPanel;
    StatusBar1: TStatusBar;
    SpeedButton1: TSpeedButton;
    DBGrid1: TDBGrid;
    procedure FormShow(Sender: TObject);
    procedure SpeedButton1Click(Sender: TObject);
  private

  public

  end;

var
  FMain: TFMain;

implementation
{$R *.dfm}

procedure TFMain.FormShow(Sender: TObject);
var
   txt : String;

begin
   txt := 'Przykłąd wykorzystania sterownika ODBC, AliasName = "' + DM.Database1.AliasName + '" dla MS Access';
   Caption := txt;
end;

procedure TFMain.SpeedButton1Click(Sender: TObject);
begin
   Close();
end;

end.
