TsRichEdit WordWrap

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #55283
    Support
    Keymaster

    If WordWrap property is changed then control is recreated and Font property is reassigned if AlphaSkins activated.

    I can suggest to use the sRichEdit1.SkinData.CustomFont property.

    Just change it to True and font will not be changed by AlphaSkins engine.

    You can do something like this, also:

    Quote:
    RichEdit1.SkinData.CustomFont := True;

    RichEdit1.WordWrap := not RichEdit1.WordWrap;

    RichEdit1.SkinData.CustomFont := False;

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.