![]() |
Re: Tcanvas3d
vileicht musst du in T noch was einstellen.
|
Re: Tcanvas3d
hallo,
hier der Code
Delphi-Quellcode:
[edit=Admin]Delphi-Tags eingefügt. Bitte künftig selber machen. :wink: Mfg, Daniel[/edit]
type
TForm1 = class(TForm) Button1: TButton; PB1: TPaintBox; procedure Button1Click(Sender: TObject); private { Private-Deklarationen } public { Public-Deklarationen } t3d:Tcanvas3d; t:TView3DOptions; tr,ts:trect; end; var Form1: TForm1; implementation {$R *.DFM} procedure TForm1.Button1Click(Sender: TObject); begin t3d:=Tcanvas3d.Create; t3d.ReferenceCanvas:=form1.canvas; t:=TView3DOptions.Create(self); t.parent:=form1; tr.left:=10; tr.right:=200; tr.top:=10; tr.bottom:=200; t.Orthogonal:=true; ts:=t3d.InitWindow(pb1.canvas, T,clred, true , tr); // t3d.TextOut3D (10,10,10,'Test'); end; |
Re: Tcanvas3d
Lass das mit der Zuweisung von ts!
Des Weiteren wurde tr nicht mit Trect.Create erstellt... ;) Chris |
Re: Tcanvas3d
hallo
trect ist ein record, keine Klasse. Kann niemals der Fehler sein! nimoee |
Re: Tcanvas3d
Stimmt... *jetzt auch probier*
Chris |
Re: Tcanvas3d
hallo,
in die uses Klausel muss noch tecanvas rein nimoee |
Re: Tcanvas3d
War etwas das der Fehler??? :shock:
Chris |
Re: Tcanvas3d
hallo,
nein nur für dich ein Hinweis! nimoee |
Re: Tcanvas3d
hallo,
ich weiss warums nicht geht! Alle Methoden bis auf create sind abstract definiert und damit nur abstract vorhanden. nimoee |
Alle Zeitangaben in WEZ +1. Es ist jetzt 16:58 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz