<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title></title>
</head>
<body>
<p style="margin: 0px;"><span> </span></p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
Joost van der Sluis <joost@cnoc.nl> hat am 9. Juni 2011 um 12:53 geschrieben:<br/>
<br/>
> Hi all,<br/>
><br/>
> This construct is accepted by the compiler:<br/>
><br/>
> Tdm = class(TDataModule)<br/>
> IBConnection1: TIBConnection;<br/>
> procedure DataModuleCreate(Sender: TObject);<br/>
> private<br/>
> function GetOnderdelen: TXMLDocument;<br/>
> public<br/>
> property Onderdelen: TXMLDocument read GetOnderdelen;<br/>
> destructor Destroy; override;<br/>
> end;<br/>
><br/>
> Note the 'destructor' behind the property definition. Isn't this a bug?<br/>
> (The Lazarus codetools choke on it)
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">It works here. </p>
<p style="margin: 0px;"> </p>
Mattias<br/>
<br/>
</body>
</html>