Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by tom_po,
9. Feb 2006
marabu:
printPDF1.Font.Assign(memo1.font);
assign geht bei mir nicht, wird bei printpdf1.font.??? nicht gefunden, bzw. angezeigt!
was meinst du zum Vorschlag von Niklas (danke noch für dein Input) betr. der Verwendung von richedit anstatt von Memo?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by tom_po,
9. Feb 2006
danke wiedermal, marabu, hab's jetzt so:
procedure Takn.Label5Click(Sender: TObject);
begin
with FontDialog1 do
begin
Font.Assign(Memo1.Font);
if Execute then
Memo1.Font.Assign(Font);
end;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by tom_po,
9. Feb 2006
na klar, jetzt geht's, danke. Da stand mir irgendeiner auf der Leitung...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by tom_po,
8. Feb 2006
wie kann ich eine memo mit meiner font-komponente definieren?
benutze diesen Code, aber ohne Erfolg:
procedure Takn.Label5Click(Sender: TObject);
var i: integer;
begin
fontdialog1.Execute;
FontDialog1.Font := memo1.Font;
for i := 0 to (memo1.ControlCount - 1) do