Delphi程序的主题(Theme)设置
2013-10-27 11:02
295 查看
本文参考了
http://superlevin.ifengyuan.tw/delphi-change-vcl-style/
在项目的工程文件中勾选主题,设置缺省主题为Windows
部分代码如下:
运行效果如下:
http://superlevin.ifengyuan.tw/delphi-change-vcl-style/
在项目的工程文件中勾选主题,设置缺省主题为Windows
部分代码如下:
uses Vcl.Themes; procedure TfrmMain.Button1Click(Sender: TObject); begin TStyleManager.SetStyle(ComboBox1.Text); end; procedure TfrmMain.FormCreate(Sender: TObject); Var StyleName : string; begin ComboBox1.Items.Clear; for StyleName in TStyleManager.StyleNames do ComboBox1.Items.Add(StyleName); end;
运行效果如下:
相关文章推荐
- Android程序:IDE Eclipse主题样式和提示设置
- 【python】pycharm 主题 theme 设置 调整 仿sublime+ 最全pycharm
- 使Delphi程序记忆参数的设置
- Delphi-- 如何设置程序开机运行(写注册表)
- android Theme 设置为Android:style/Theme.Light.NoTitleBar.Fullscreen 程序秒退
- gtk-theme-switch 设置GTK应用程序主题
- IIS7 CGI 的设置 -- IIS 下运行 Delphi 编译的 CGI 程序
- Android style(样式)和theme(主题)设置
- 在DELPHI程序中动态设置ODBC数据源(2/2)
- 在DELPHI程序中自动设置ODBC数据源
- Android开发笔记之主题背景的修改(设置Theme.NoTitleBar后Activity背景变成黑色)
- 在Delphi程序中动态设置ODBC数据源
- 通过设置主题theme,让activity附加在另一个activity上面、
- XOOPS - theme主题风格 - 模板代码、区块设置与页面效果之间的对应关系
- Android:设置背景色以及theme(主题)设置(一)
- 在DELPHI程序中自动设置ODBC数据源
- Delphi载入程序后就默认overload,将其默认设置为insert的办法
- android 半屏运行程序---设置 theme
- android style(样式)和theme(主题)设置
- delphi 设置程序不能同时打开多个