[Lazarus] class completion and properties with index constant
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Jun 25 12:42:23 CEST 2013
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
More information about the Lazarus
mailing list