delphi TFontDialog
2024-08-28 06:23:59
设置前先获得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;
最新文章
- 批处理bat 命令
- BigDecimal 处理集合
- Android6.0动态权限申请
- JS中的进制转换以及作用
- Jquery,javascript 的处理机制
- linux 系统下开机自动启动oracle 监听和实例 (亲测有效)
- HackerRank Ice Cream Parlor
- KVC与KVO的进阶使用
- spring-security用户权限认证框架
- 最长回文 hdu3068(神代码)
- 重要经验五:block作为属性的注意事项
- WEB前端学习代码片段记录
- python转义符
- java.lang.OutOfMemoryError: PermGen space (jvm内存泄漏解决办法)
- Hibernate关系映射时出现的问题
- vue+axios如何操作数据交互
- 【Linux】CentOS7 安装rabbitmq
- vivado 连接不上板子 There is no current hw_target
- css 兼容性问题,整理
- 电商系统架构总结2(Redis)
热门文章
- nginx服务器,php-fpm重启
- Apache 多站点(虚拟主机)
- 序列化魔术函数__sleep()和反序列化魔术函数__wakeup()
- python cookielib
- mongoengine教程1
- iOS: 布局可视化语法 Visual Format Syntax
- python第一次上机遇到的困难
- iOS性能优化
- mysql update from 子查询
- ld: symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o for architecture i386