Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   Delphi EAccesViolation (https://www.delphipraxis.net/89698-eaccesviolation.html)

Elicia 6. Apr 2007 15:04

Re: EAccesViolation
 
Hi,

stell PatternHeight entweder im OI ein - oder leg sie im Quelltext fest (hoffe, das hilft, bin noch nicht ganz firm in Delphix)

MfG,
Elicia

hille 6. Apr 2007 16:15

Re: EAccesViolation
 
Klappt wieder - fragt mich nicht wie.

Ich habe einfach folgenden Code:
Delphi-Quellcode:
procedure ...;
begin
with Componente do begin
  Image:=...;
  Width:=Componente.Image.Width;
  Height:=Componente.Image.Height;
  ...
end;
end;In foldenden Umgewandelt:
Delphi-Quellcode:
procedure ...;
begin
with Componente do begin
  Image:=...;
  Width:=300;
  Height:=200;
  ...
Und auf einmal gings wieder ...... Naja, trotzdem VIELEN DANKE :thumb: :thumb:

OldGrumpy 6. Apr 2007 18:32

Re: EAccesViolation
 
Das kommt vom "with Componente do"... Bei den Zuweisungen lass das "Componente." vor Image weg.


Alle Zeitangaben in WEZ +1. Es ist jetzt 05:09 Uhr.
Seite 2 von 2     12   

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