本文整理自网络,侵删。
设置前先获得Memo的字体属性并设置给FontDialog 然后再设置MEMO的字体属性 //设置Memo的字体属性procedure TForm1.mni_FontClick(Sender: TObject);begin with TFontDialog.Create(nil) do begin Font:=Memo1.Font; Options := [fdApplyButton]; if Execute() then Memo1.Font:=Font; end;end;
来源:https://www.cnblogs.com/xe2011/p/3372992.html
相关阅读 >>
Delphi urldownloadtofile 支持进度条
Delphi webservices 字节数组 base64编码
Delphi windows 下用 Delphi 代码杀死进程,或者杀死自己
Delphi 2009 之 tcategorypanelgroup[1]: chevronalignment 等
更多相关阅读请进入《Delphi》频道 >>