📄 c++ builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0044)http://www.17xie.com/read.php?bid=303&seq=57 -->
<HTML xmlns:st1 xmlns:o><HEAD><TITLE>C++ Builder 程序设计实用教程 - 5.4.3 文件列表和文件过滤控件 - 张晋 - 17xie</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8"><LINK
href="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/17xie.css"
type=text/css rel=stylesheet><LINK
href="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/read.css"
type=text/css rel=stylesheet>
<SCRIPT
src="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/core.js"
type=text/javascript></SCRIPT>
<SCRIPT
src="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/iframe.js"
type=text/javascript></SCRIPT>
<SCRIPT
src="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/dialog.js"
type=text/javascript></SCRIPT>
<SCRIPT
src="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/ajax.js"
type=text/javascript></SCRIPT>
<SCRIPT
src="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/cookie.js"
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV id=m-body>
<DIV id=read-top>
<DIV style="FLOAT: left"><A href="http://www.17xie.com/" target=_blank><IMG
src="C++ Builder 程序设计实用教程 - 5_4_3 文件列表和文件过滤控件 - 张晋 - 17xie.files/booklogo.gif"></A></DIV>
<DIV id=read-menu><NOBR><A
onclick="APIframe.open('快速登录','/m/user/poplogin.php',400,160)"
href="javascript:void(0)">登录</A> <A
onclick="APIframe.open('17xie-快速注册','/m/user/reg.php',480,460)"
href="javascript:void(0)">注册</A> | <A href="http://www.17xie.com/"
target=_blank>首页</A> <A href="http://www.17xie.com/bbs/index.php?ishow=y"
target=_blank>论坛</A> <A href="http://www.17xie.com/user.php"
target=_blank>会员中心</A> <A href="http://www.17xie.com/help/"
target=_blank>帮助</A></NOBR></DIV></DIV>
<DIV id=read-title>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><A
href="http://www.17xie.com/" target=_blank>17xie</A> > <A
href="http://www.17xie.com/book.php?bid=303">C++ Builder 程序设计实用教程</A> > 5.4.3
文件列表和文件过滤控件</DIV>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 4px"><INPUT class=button-red8 onclick="window.location.href='/m/book/write.php?pid=5563'" type=button value=点击编辑本页></DIV></DIV>
<DIV id=read-mpage>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 8px; PADDING-TOP: 8px">背景:
<SPAN class=chcolor style="BACKGROUND-COLOR: #eeeeff"
onclick="chcolor('#eeeeff')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #ffeeee"
onclick="chcolor('#ffeeee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #eeffee"
onclick="chcolor('#eeffee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #ffffee"
onclick="chcolor('#ffffee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #eeeeee"
onclick="chcolor('#eeeeee')"> </SPAN> <SPAN class=chcolor
style="BACKGROUND-COLOR: #ffffff"
onclick="chcolor('#ffffff')"> </SPAN> </DIV>
<DIV
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: right; PADDING-BOTTOM: 0px; PADDING-TOP: 3px">
<TABLE>
<TBODY>
<TR>
<TD><NOBR><SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=1'">|<</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=56'">上一页</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=54'">54</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=55'">55</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=56'">56</SPAN>
<SPAN class=page-here
onclick="window.location.href='/read.php?bid=303&seq=57'">57</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=58'">58</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=59'">59</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=60'">60</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=58'">下一页</SPAN>
<SPAN class=page-nor
onclick="window.location.href='/read.php?bid=303&seq=105'">>|</SPAN></NOBR>.</TD>
<TD><INPUT class=input-text
onkeydown='if(window.event.keyCode==13)window.location.href="/read.php?bid=303&seq="+this.value'
style="WIDTH: 25px"></TD>
<TD style="PADDING-TOP: 2px">[共105页]</TD></TR></TBODY></TABLE></DIV></DIV>
<DIV id=read-conts style="BACKGROUND-COLOR: #ffffff"><SPAN
style="FONT-SIZE: 12px">本页字数:3179 最后更新:<NOBR>12天以前</NOBR>
<NOBR>[11-30 12:34]</NOBR> 由 <A onclick='$showu(1271,"张晋")'
href="javascript:void(0)">张晋</A> 编辑 <A class=aline
style="COLOR: red" href="http://www.17xie.com/m/user/inviter_reg.php"
target=_blank>注册17xie 一起来写书 实现您的出书梦想!</A></SPAN>
<HR>
<CENTER>
<DIV style="WIDTH: 547px; TEXT-ALIGN: left">
<DIV class=Section1 style="LAYOUT-GRID: 15.6pt none">
<H3><A name=_Toc502915296></A><A name=_Toc392382662></A><st1:chsdate w:st="on"
IsROCDate="False" IsLunarDate="False" Day="30" Month="12" Year="1899"><SPAN
style="mso-bookmark: _Toc392382662"><SPAN
style="mso-bookmark: _Toc502915296"><SPAN
lang=EN-US>5.4.3</SPAN></SPAN></SPAN></st1:chsdate><SPAN
style="mso-bookmark: _Toc392382662"><SPAN
style="mso-bookmark: _Toc502915296"><SPAN lang=EN-US> <SPAN
style="mso-spacerun: yes"> </SPAN></SPAN></SPAN></SPAN><SPAN
style="mso-bookmark: _Toc392382662"><SPAN
style="mso-bookmark: _Toc502915296"><SPAN
style="FONT-FAMILY: 黑体; mso-ascii-font-family: 'Times New Roman'">文件列表和文件过滤控件</SPAN></SPAN></SPAN></H3>
<P class=MsoNormalIndent><SPAN lang=EN-US>CBuilder 5</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中常用的文件类控件中最后一种控件为</SPAN><SPAN
lang=EN-US>FilterComboBox</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">控件,作用是为用户提供从文件列表框中筛选文件的条件,它的作用决定了</SPAN><SPAN
lang=EN-US>FilterComboBox</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">控件要同其他几种文件类控件相互协调才能够完成文件的筛选功能,</SPAN><SPAN
lang=EN-US>FilterComboBox</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">控件的常用属性如表</SPAN><SPAN
lang=EN-US>5-3</SPAN><SPAN
style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">所示。</SPAN></P>
<P class=a><SPAN
style="FONT-FAMILY: 黑体; mso-ascii-font-family: 'Times New Roman'">表</SPAN><SPAN
lang=EN-US>5-3<SPAN style="mso-spacerun: yes">
</SPAN>FilterComboBox</SPAN><SPAN
style="FONT-FAMILY: 黑体; mso-ascii-font-family: 'Times New Roman'">控件的常用属性</SPAN></P>
<DIV align=center>
<TABLE class=MsoNormalTable
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-top-alt: solid black 1.5pt; mso-border-bottom-alt: solid black 1.5pt; mso-yfti-tbllook: 31; mso-border-insideh: .75pt solid black; mso-border-insidev: .75pt solid black"
cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD
style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 81.3pt; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext 1.0pt; mso-border-right-alt: solid black .75pt"
width=108>
<P class=a1><SPAN lang=EN-US>Action</SPAN></P></TD>
<TD
style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 76.3pt; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext 1.0pt; mso-border-right-alt: solid black .75pt; mso-border-left-alt: solid black .75pt"
width=102>
<P class=a1><SPAN lang=EN-US>ActiveControl</SPAN></P></TD>
<TD
style="BORDER-RIGHT: black 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 85.3pt; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext 1.0pt; mso-border-right-alt: solid black .75pt; mso-border-left-alt: solid black .75pt"
width=114>
<P class=a1><SPAN lang=EN-US>Align</SPAN></P></TD>
<TD
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; WIDTH: 174.55pt; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none; mso-border-left-alt: solid black .75pt"
width=233>
<P class=a1><SPAN lang=EN-US>Anchors</SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<TD
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -