020109.htm
来自「提供一个VB学习教程,入门级。来源于网上」· HTM 代码 · 共 53 行
HTM
53 行
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>vb study</title><style>
<!--
td {font-size: 9pt}
A:link {text-decoration: none; color: #0033cc;font-size: 9pt}
A:visited {text-decoration: none; color: #0066CC;font-size: 9pt}
A:active {text-decoration: none; color: #ff0000; font-size: 9pt}
A:hover {text-decoration: underline; color: #000000;font-size: 9pt}
-->
</style>
</head>
<body>
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="98%">
<tr>
<td width="100%"><a href="#">你的位置</a>:<a href="http://www.xxby.com" target="_blank">华生小屋</a>--<a href="#">VB学习</a>--<a href="#">ActiveX控件</a></td>
</tr>
<tr>
<td width="100%">
<p align="center">主要ActiveX控件</td>
</tr>
<tr>
<td width="100%"><br>
Coolbar控件<br>
<br>
使用Coolbar控件,coolbar控件在common control 3.6.0中,用于创建IE浏览器风格的工具栏。它由多个"带区"band对象组成一个集合,每个带区容纳一个子控件(只容纳1个子控件)。每个控件必须与1个band带区对象相关联,添加子控件:先将子控件画到coolbar上,再打开coolbar属性页的"带区"选项卡,在"索引"中选择某个band带区索引值,在"子"下拉框中选中添加的子控件即可。<br>
picture属性:整个coolbar显示的背景图片(穿过所有带区)。<br>
Bands属性:所有带区组成的集合。引用1个带区如coolbar1.bands(1)<br>
EmbossPicture属性:是否强迫1个图象以二种颜色显示(象IE的工具栏)。所使用的两种颜色由EmbossHighlight属性和EmbossShadow属性来决定。<br>
1个带区band对象的属性:UseCoolbarPicture属性:是否在本带区内显示coolbar指定的背景图。为false时可在本带区内显示自身的不同的背景图。image属性:用于在移动块的右边移动时显示1个图标。FixedBackground属性:为false时,coolbar的picture属性指定的图象在该带区内被平铺。<br>
注:本身无窗口句柄的控件如Label,image,shape等不能嵌入band对象中作为子控件。否则运行时不会出现。
<p align="center">
<br>
< <a href="020108.htm">上一页</a>--<a href="http://www.xxby.com" target="_blank">华生小屋</a>--<a href="020110.htm">下一页</a>
><br>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?