M
Ming618
Unregistered / Unconfirmed
GUEST, unregistred user!
未安装打印机,调用FontDialog设置字体时出错
If FontDialog1.Execute then
Begin
With RichEdit1.SelAttributes Do
Begin
Name:=FontDialog1.Font.Name;
Size:=FontDialog1.Font.Size;
End;
End;
请问以上代码错在何处?谢谢![]
If FontDialog1.Execute then
Begin
With RichEdit1.SelAttributes Do
Begin
Name:=FontDialog1.Font.Name;
Size:=FontDialog1.Font.Size;
End;
End;
请问以上代码错在何处?谢谢![]