能否循环从form1到form55设置formXX.font=FontDialog1.font吗?
解决方案 »
- 找几个控件
- 文本文件里面是非常整齐的,导入到COMBOBOX之后就不能对齐了!
- 大侠请进:有关局域网copy文件?
- 一个字串在debug时,显示为:'字串A'#4#4#4,字串本身值为:字串A ,如何去掉后面的#4#4#4
- 求与PHOTOSHOP完全相同的CMYK转RGB算法
- 图片位置
- 难道我变傻了?----连18关都过不了(一光学小游戏).郁闷ing.....
- 关于TADOCommand的疑问
- DEPHI使用ZeroMemory提示错误Access violation ...
- 新手,求您帮忙!报表为什么不表头呢?
- 请教一个查询语句的问题,请大家帮忙看看,谢谢!
- QuickReport 可以不用数据库组件,而用一个循环进行显示吗?
Indicates whether a given component is owned by the component.function FindComponent(const AName: string): TComponent;DescriptionFindComponent returns the component in the Components property array with the name that matches the string in the AName parameter. Use FindComponent to determine whether a given component is owned by another.TForm(FindComponent('Form1')).font:=.....未经验证。
2. 添加一个method用来设置font.
3. 或在onshow是自动设置font
3. 设置font时保证font 是一个const或者全局变量.
4. 需要变时变更const或全局变量就可以了