(Moderator)
Registriert seit: 9. Dez 2005
Ort: Heilbronn
39.858 Beiträge
Delphi 11 Alexandria
|
Re: ActiveX "Component"-->"importieren&
25. Jun 2008, 19:34
Delphi-Quellcode:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, OleCtrls, DBOleCtl;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
uses ABARCODELib_TLB;
procedure TForm1.Button1Click(Sender: TObject);
var
abc: TActiveBC;
begin
abc := TActiveBC.Create( self);
abc.Parent := Self;
abc.Left := 100;
abc.Top := 100;
end;
end.
Markus Kinzler
|
|
Zitat
|