011001.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="#">基本控件</a></td>
</tr>
<tr>
<td width="100%">
<p align="center">标签Label对象</td>
</tr>
<tr>
<td width="100%"><br>
★ 标签label对象的borderstyle属性:是否要边框。<br>
font属性:选择字体。<br>
caption属性:修改标题(标签内容)。<br>
forecolor属性:修改对象的前景颜色。<br>
标签LABEL对象的Alignment属性:选择其中内容的对齐方式(0为左对齐,1为右对齐,2为居中对齐。)<br>
★ 标签LABEL控件的autosize属性和 wordwrap属性:当要显示的文字内容超过标签框大小时,autosize属性若为true,则可在水平方向自动调整大小以完全显示文本内容。如果这时wordwrap属性也设为true,那么可自动换行垂直扩充显示完文本内容。<br>
★ 标签控件Label的backstyle属性:设置透明背景标签。如在Form_Load()事件中写label1.backstyle=0.表示背景透明。
<p align="center">
<br>
< <a href="010901.htm">上一页</a>--<a href="http://www.xxby.com" target="_blank">华生小屋</a>--<a href="011101.htm">下一页</a>
><br>
</p>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?