Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by MatthiasW,
31. Jul 2003
Schön das das erstmal funktioniert. Für den StringEditor brauchst du den "TStringProperty". Schau dir mal diesen Beitrag hier an, ich denke der könnte dir weiterhelfen: Delphi Praxis StringProperty
Mfg Matthias
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by MatthiasW,
31. Jul 2003
achso ich vergass, du definierst das Property mit:
type TXPListBox = class(TCustomControl)
private
fAbout: TAboutXPListBox;
published
property About: TAboutXPListBox read fAbout write fAbout;
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by MatthiasW,
31. Jul 2003
Hallo,
der Code:
TAboutXPComboBox = class(TPropertyEditor)
Public
procedure Edit; override;
function GetAttributes: TPropertyAttributes; override;
function GetValue: string; override;
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by MatthiasW,
31. Jul 2003
Sorry nochwas vergessen,
ich habe bei mir noch die funktion "procedure Edit; override;" eingefügt, vielleicht liegts auch daran
Mfg Matthias
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by MatthiasW,
31. Jul 2003
Hallo,
du must das noch mit RegisterPropertyEditor in der Register - Procedure registrieren, dann solte es funktionieren :lol:
Mfg Matthias