Thema: Delphi RichEdit Formatierung:

Einzelnen Beitrag anzeigen

Benutzerbild von Störtebeker
Störtebeker

Registriert seit: 9. Jul 2007
398 Beiträge
 
#7

Re: RichEdit Formatierung:

  Alt 24. Aug 2007, 18:31
Das ist mir schon klar.

Aber:

Delphi-Quellcode:
begin
  with RichEdit1 do
    begin
      If SelLength > 0 then //prüfen ob was markiert wurde
        SelAttributes.size := ComboBox2.Items[ComboBox2.ItemIndex];
end;
funzt nicht.

Der Code, um die Fonts in die Combobox zu bekommen:

Delphi-Quellcode:
begin
  RichEdit1.Font.Name:='Arial';
  ComboBox1.Items:= Screen.Fonts;
end;
für die Größe??

Sorry.
"And he piled upon the whale´s white hump - a sum of all the rage and hate felt by his whole race.
If his chest had been a cannon, he would have shot his heart upon it."
  Mit Zitat antworten Zitat