Delphi XE2 新功能试用:多种皮肤样式静、动态设置方法

Delphi XE2 新功能试用:多种皮肤样式静、动态设置方法

静态方式:

1、新建VCL Forms Application;

2、打开菜单Project - Application - Appearance;

3、在Custom Styles中可选择所有默认带的皮肤样式;

4、设置Default style后,启动软件后便以默认的样式显示界面。

 

动态方式:

1、完成静态方式的1-3步;

2、引用Vcl.Themes;

3、使用方法TStyleManager.SetStyle('Aqua Light Slate'),参数为样式的名称。

posted @ 2016-06-15 09:31  海蓝7  阅读(417)  评论(0编辑  收藏  举报