DELPHI的美化插件VCLskin5.6下载(支持DELPHI2010,含233种皮肤和皮肤制作.


======================================================
注:本文源代码点此下载
======================================================

http://apps.hi.baidu.com/share/detail/34900490

学习delphi时为了美化程序,

所以在网上找到了这个插件!

1. vclskin综述

vclskin是一个能让delphi程序变得非常漂亮的控件包. 它允许允许软件开发人员不用修改程序代码便把软件界面变得非常漂亮。它的美化支持窗体和控件和菜单。vclskin同时也提供了大量高质量的skin(皮肤)让你应用于你的程序。

2. vclskin特点

vclskin是一个用于让用户的程序界面更加漂亮的扩展控件。 它允许软件开发人员不用修改源代码就能让他们的程序界面更加漂亮。一个标准的程序界面能在窗体放入vclskin控件后变得非常漂亮,而这公公需要几分钟的时间。

vclskin 能做些什么 ?

不像其它控件那样,你需要修改源代码才能构建一个漂亮的界面, vclskin 能让delphi的标准控件在一下子就变得非常漂亮,而这一切都不用修改源代码。

vclskin 支持以下的窗体:

delphi form

mdiform . (normal,maximized, minimized)

common windows dialogs (open/save,font,print,color).

msgbox.

exception msgbox.

vclskin 支持的标准控件:

the title bar of tform

the title bar buttons

the borders of tform

tbutton,tbitbtn.

tradiobutton and tcheckbox

tmainmenu and tpopupmenu

toolbar buttons

ttabcontrol and tpagecontrol

t progressbar

tstatusbar

tcustomcombox,tcombobox, tdbcombobox

tpanel and tgroupbox

tmemo, tlistbox,tlistview,ttreeview

tradiogroup , tdbradiogroup.

tcustomgrid,tstringgrid,tdrawgrid,tdbgrid.

third party component, enlib, advgrid ..

同时也支持大量的第三方控件。

3.安装

你可以像安装其它控件一样安装这夽控件,其实就这几步:

解压缩 vclskin2.zip 到任意目录

在 delphi ide 环境中选择菜单 "file. open...", 然后找到连接库vclskindx.dpk, 按着点击compile按钮。

在 environment 添加vclskin控件所在的路径。

dx - delphi x, x - version cbx - cbuilder x, x - version

1. tskindata

tskindata 主要用于美化你的程序, 只要把tskindata控件放下去,它就能自动美化所有窗体。

属性

active: 使用或取消对程序的美化。

disabletag: 取消对某个特定的组件的美化; 把组件的tag属性设为99就行了。

(control.tag mod 100=disabletag)

skincontrols:指定哪类组件能被美化.

skinfile: skin(皮肤)文件的包含路径的文件名,在运行时加载。

skinstore: 在设计模式时储备的skin文件.

skinformtype:能使用多种美化方式.

方法

loadfromstream(stream: tstream);

loadfromfile(value:string);

loadfromcollection(astore:tskinstore;aindex:integer);

在运行时装载skin文件.

updateskincontrol(fparent:tform);

updatemenu(fparent:tform);

在运行时组件创建时进行美化。

事件

onformskin(sender:tobject;aname:string;var doskin:boolean);

onformskin 事件的发生先于美化窗体, 如果 doskin 为 true, vclskin 就会美化这个窗体, 如果为false,vclskin 就会跳过这个窗体. aname 是窗体的类名.

onskinchangned(sender:tobject);

onskinchanged 发生在skin文件改变之后。

2. tskinstore

tskinstore 能让你在设计模式时储存多个skin文件。

tskindata 能在运行时从 tskinstore 装载skin文件:

tskindata.loadfromcollection(astore:tskinstore;aindex:integer),

3. 怎么美化程序界面

你可以在几分钟内构建一个漂亮的程序.

1 把 tskindata 控件放在主窗体上。

2设置skindata.skinstore属性 , 把skin文件储存在你的程序中。

3 设置skindata.active = true

4 编译运行你的程序。

4.vclskinfaq

1 如果我的工程中有14个窗体,用不用每个窗体都放一个skin控件?

不用,你只需要放置一个tskindata在你的主窗体,vclskin就能自动美化每个窗体。

2 怎样美化一个内嵌的窗体 ?

vclskin 不能自动美化内嵌窗体,你要手动控制它。压缩包中有一个"nestedform"的例子,讲的是在运行状态美化内嵌窗体、框架的。

3 怎样美化动态控件 ?

你需要手动控制它。代码如下:

control:=tmycontrol.create(form1);

skindata1.updateskincontrol(form1); // add this line to skin dynamic control.

4 怎样美化依靠窗体 ?

vclskin 支持停靠窗体. 例程代码如下:

proceduretdockableform.formshow(sender: tobject);

begin

if mainform.skindata1.active then mainform.skindata1.skinform(handle);

end;

5 怎么美化动态的右键菜单 ?

例程代码如下:

popup:=tpopupmenu.create(form1);

..... add menuite

skindata1.updatemenu(form1); //add this line

popup.popup(x,y);

6 怎样美化动态窗体 ?

vclskin 可以美化动态窗体 , 但不能自动美化内嵌窗体.点击这儿查看如何美化内嵌窗体.

7 找不到文件 'c:\program files\borland\delphi7\sm\winskindata.pas'

delphi7 试用版与delphi7正式版的dcu文件格式是不一样的。

如果你使用的是正式版,你可以安装一个演示包。vclskin2.zip.

如果你使用的是试用版,你可以安装一个演示包。d7trial.zip.

8 使用 fastreport 时,出现了“无效操作,控件没有父窗体的的错误提示 ?

设置tskindata.skincontrols.xcfastreport = true就可以解决这个问题。

9 使用 reportbuilder 出现了“无效操作,控件没有父窗体的错误提示?

你可以在tskindata.onformskin事件中取消美化这个控件。 代码如下 :

proceduretform1.skindata1formskin(sender: tobject;

aname: string; var doskin: boolean);

begin

//'tppprintpreview' 就是要取消美化的窗体名称。

if aname='tppprintpreview' then doskin:=false;

end;

10 如何存取skin文件的颜色?

你可以借助tskindata.colors[]属性来存取颜色。

比如说 , 窗体的背景色是 :skindata.colors[csbuttonface].

tshemecolor=(cstext,cstitletextactive,cstitletextnoactive,

csbuttonface,csbuttontext,

csbuttonhilight,csbuttonlight,csbuttonshadow,csbuttondkshadow,

csselecttext,csselectbg,cshilighttext,cshilight,

csmenubar,csmenubartext,csmenutext,csmenubg,

csscrollbar,cstextdisable);

tshemecolors=array[cstext..cstextdisable] of tcolor;

skindata.colors: tshemecolors;

11 用户能自定义那些可视化控件的外观吗?

你可以使用skin builder自定义细节.

12 怎样取消美化某个窗体或控件?

设置form.tag=99 取消美化这个窗体。

13 如何在美化一个工程的窗体标题栏和菜单的风格?

设置tskindata.skincontrols.xcmainmenu = false.

//==========

通用控件安装方法:

----------

基本安装

1、对于单个控件,componet-->install component..-->pas或dcu文件-->install;

2、对于带*.dpk文件的控件包,file-->open(下拉列表框中选*.dpk)-->install即可;

3、对于带*.bpl文件的控件包,install packages-->add-->bpl文件名即可;

4、如果以上install按钮为失效的话,试试compile按钮;

5、是run time lib则在option下的packages下的runtimepackes加之。

如果编译时提示文件找不到的话,一般是控件的安装目录不在delphi的lib目录中,有两种方法可以解决:

1、反安装的源文件拷入到delphi的lib目录下;

2、或者tools-->environment options中把控件源代码路径加入到delphi的lib目录中即可。

注意:所安装的控件是否与你所用的delphi版本相适应。

----------

控件删除

在component/install packages中删除。

选component/configure palette…

有pages和components两个区域

双击components区域,选中要删除得控件,下面有得delete按钮

但系统提供的控件只能hide,不能delete。

打开控件所在的包文件(*.dpk),从中删除控件那个文件,再重新编译该包即可。

如果是整个控件包都要删除的话,project->option->packages,删掉那个packages,收工。

vclskin5.60:点击下载

vclskin皮肤(233种):点击下载

vclskin皮肤制作工具:我的网盘

vclskin皮肤制作方法

1.convert msstyle file 1.convert msstyle文件

1. 1。 click "import" button in toolbar.点击“导入”工具栏按钮。

2. 2。 select color theme in list.选择列表中的颜色主题。

2. 2。 skin fundamentals 皮肤基础

the first step in learning skin is to understand how it works.在学习皮肤的第一步是要了解它是如何工作。 unlike some apps where you create a mostly static skin, vclskin must work with the dynamic environment of windows.不像有些应用程序在创建一个大多是静态的皮肤,vclskin必须与windows的动态环境。 the various windows and buttons change shape and size with each program, so skin must adapt your graphics to each item.各种windows和按钮改变形状和大小各方案,使皮肤必须适应你的图形的每个项目。 it is important to keep this in mind when creating your design.重要的是要记住这一点在创建你的设计。 with the code, you are able to set how many pixels of the image around the border, are to be left alone.使用代码,您可以设置如何周围的边界图像的像素,是被单独留在家中。 the rest of the image is then stretched or tiled (as you specify) in order to enlarge or compact the image as needed.图像的其余部分,然后拉伸或平铺(如你指定),以图像放大或压缩需要。

3. 3。 image 图片

image margins : margin of image that should not be stretched/tiled. 图像边距 :图像边缘不应被拉伸/平铺。

stretch and tile : image is tiled or stretched. 拉伸和平铺 :形象是平铺或拉伸。

transparency : draw the image transparently, transparent color is clfuchsia,rgb: 255,000,255, $00ff00ff. 透明度 :绘制图像透明的,透明颜色是clfuchsia,的rgb:255000255,$ 00ff00ff。

frame : image state number. 框架 :图像的状态数。

4. 4。 windows border and mainmenu 窗口边框和主菜单

there are also two other possible image states: inactive and active window.还有其他两个可能的图像状态:不积极,活跃的窗口。 the active window is the window that is currently being used, while the inactive window is any window(s) that is in the background.活动窗口是当前正在使用的窗口,而任何非活动窗口的窗口(县),在背景中。

5. 5。 title buttons 标题按钮

6.button 6.button

there are five different states for the buttons image, each displayed at a different time.有五种不同的国家的按钮图像,在不同的时间显示的每个。

normal: the normal state is what you see when the button is just there, undisturbed. 正常:正常状态是什么,你看时,按钮就在那里,不受干扰。

pressed: the pressed state is what you see when the button has been clicked and/or the mouse button is being held down with the cursor over the button. 按:按下状态时看到的就是你的按钮被点击和/或鼠标按钮被关押按钮与光标了。

disabled: this state is visible when the function of the button is not available. 禁用:这种状态是可见的按钮时,该功能不可用。 for example, when you open a new internet explorer window, the back button is not available because you have no webpage to go back to at that time.例如,当你打开一个新的internet explorer窗口,后面的按钮是不可用,因为你没有网页,回到那个时候。 therefore, the back button will be displayed with the disabled state.因此,背部按钮将显示为禁用状态。

focus: the focus state is displayed when the mouse cursor passes over the button. 焦点:焦点状态时显示鼠标光标按钮越过了。

default: the default state is displayed. 默认:默认状态显示。

7.menuitem 7.menuitem

8.color 8.color

pick color and capture color 挑选颜色和捕捉色彩


======================================================
在最后,我邀请大家参加新浪APP,就是新浪免费送大家的一个空间,支持PHP+MySql,免费二级域名,免费域名绑定 这个是我邀请的地址,您通过这个链接注册即为我的好友,并获赠云豆500个,价值5元哦!短网址是http://t.cn/SXOiLh我创建的小站每天访客已经达到2000+了,每天挂广告赚50+元哦,呵呵,饭钱不愁了,\(^o^)/
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
VCLSkin是一个用于Delphi和C++ Builder的皮肤库,它允许开发人员为他们的应用程序应用不同的皮肤风格。在使用VCLSkin之前,您需要先下载并安装该库。 要下载VCLSkin皮肤,您可以在互联网上搜索VCLSkin官方网站或其他信誉良好的软件下载网站。访问官方网站,您将找到有关VCLSkin的详细信息以及下载链接。 点击下载链接后,您将会下载一个压缩文件,解压后可以找到VCLSkin的安装程序。运行安装程序,按照提示逐步完成安装过程。 安装完成后,您可以在Delphi或C++ Builder的组件面板中找到VCLSkin的相关组件。通过将这些组件拖放到应用程序的窗口上,您可以开始为您的应用程序应用不同的皮肤风格。 VCLSkin提供了多不同的皮肤风格供您选择,您可以根据您的应用程序的需求和主题选择合适的皮肤风格。同时,VCLSkin还允许您自定义皮肤风格,以满足更具个性化的需求。 使用VCLSkin,您的应用程序将获得一个全新的外观,提供给用户更好的视觉体验。此外,VCLSkin还提供了一些额外的功能,如透明效果、动画效果等,可以增加应用程序的吸引力和交互性。 总而言之,VCLSkin是一个强大的皮肤库,能够为您的Delphi和C++ Builder应用程序提供多样化的外观选择。通过下载和安装VCLSkin,您可以为您的应用程序带来全新的皮肤风格和更好的用户体验。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值