Hi,
ich verwende folgende Reihenfolge: private, protected, public, published
Delphi-Quellcode:
type
TRechner = class(TObject)
private
DoubleValue :Double; //Double-Wert
//Wert setzen / auslesen
procedure SetValue(Value:Double);
function GetValue: Double;
public
property DeinDoubleWert: Double read GetValue write SetValue;
// oder:
// property DeinDoubleWert: Double read DoubleValue write DoubleValue;
constructor Create; // keine Function!
destructor Destory; override; // keine Prozedur!
end;
So würd ich das machen

(Das löst auch Dein zweites Problem

)
mfG
mirage228