Hi all,

Codetools code completion now support properties with index constant. For 
example:

program Project1;
type
  TFoo = (one, two, three);

  { TBar }

  TBar = class
  public
    property Something: Boolean index one read GetSomething;
    property Otherthing: Boolean index two read GetSomething;
  end;

begin
end.

This now creates

  private
    function GetSomething(AIndex: TFoo): Boolean;


Mattias

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to