Einzelnen Beitrag anzeigen

Lord Dave

Registriert seit: 5. Sep 2004
Ort: Offenburg
44 Beiträge
 
#3

Re: deklaration unterscheidet sich von vorheriger ?!?!?

  Alt 9. Sep 2004, 21:34
Lässt sich bei mir ohne Fehlermeldung compilieren.
(Nur die Signaturen kopiert)
Delphi-Quellcode:
unit Unit2;

interface
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ComCTRLs;

type
TMyListView = class(TCustomListView)
  private
    FExtTypes: Boolean;

    FImageList: TImageList;
  protected
  public
    property ExtTypes: Boolean read FExtTypes write FExtTypes;
    property ImageList: TImageList read FImageList write FImageList;

    procedure ChangeBitmap(Bitmap: TBitmap; Index, Width, Heigth: Integer);
   end;

implementation


procedure TMyListView.ChangeBitmap(Bitmap: TBitmap; Index, Width, Heigth: Integer);
var
  ImageIndex: Integer;
begin
  ImageIndex := FImageList.Add(Bitmap, nil);
end;
end.
  Mit Zitat antworten Zitat