💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
<p><span style="font-weight:700;"><span style="font-size:16px;">Appearance属性</span></span></p> <p><span style="line-height:1.78571;">这个属性返回或设置一个值,它设置控件是否以3D效果显示</span><span style="line-height:1.78571;">。</span></p> <p class="label" style="font-size:12px;">语法</p> <p><span class="emp"><i>object</i></span>.<span style="font-weight:700;">Appearance&nbsp;</span>[ =&nbsp;<span class="emp"><i>integer</i></span>]</p> <p><span style="font-weight:700;"><span style="font-weight:bold;">App</span><span style="font-weight:bold;">earance</span><span style="font-weight:bold;">&nbsp;</span>&nbsp;</span>属性的语法包含下面部分:</p> <table class="MsoNormalTable" border="1" cellpadding="0" style="width:650px;"><tbody><tr><td width="29%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">部分</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="71%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">描述</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="29%" valign="top"><p class="MsoNormal"><span class="emp"><i><span style="font-size:9pt;">object</span></i></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="71%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">对象表达式</span><span style="font-size:9pt;font-family:宋体;">,其值是“应用于”列表中的一个对象。</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="29%" valign="top"><p class="MsoNormal"><span class="emp"><i><span style="font-size:9pt;">integer</span></i></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="71%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">整数,它确定树对象是否以3D效果显示</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal">&nbsp;</p> <p class="label" style="font-size:12px;">设置值</p> <p><span class="emp"><i>integer&nbsp;</i></span>的设置值是:</p> <table class="MsoNormalTable" border="1" cellpadding="0" width="100%" style="width:650px;"><tbody><tr><td width="29%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">常数</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="8%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">值</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="61%" valign="top"><p class="MsoNormal"><span style="font-weight:700;"><span style="font-size:9pt;font-family:宋体;">描述</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="29%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;"><strong>cc3D</strong><span style="font-weight:700;"></span><br /> </span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="8%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">1</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="61%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">手动的。以3D的效果显示</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> <tr><td width="29%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;"><strong>ccFlat&nbsp;</strong><span style="font-weight:700;"></span><br /> </span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="8%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;">0</span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> <td width="61%" valign="top"><p class="MsoNormal"><span style="font-size:9pt;font-family:宋体;"><span style="font-family:宋体;font-size:12px;line-height:18.4615px;">(缺省)自动的。以平面的效果显示</span></span><span style="font-size:9pt;font-family:宋体;"></span></p> </td> </tr> </tbody> </table> <p class="MsoNormal">&nbsp;</p> <p class="label" style="font-size:12px;">说明</p> <p>控件默认为平面效果展示,可选择平台和3D效果展示控件页面。</p> <pre class="prettyprint lang-vb">Private Sub CmbAppearance_AfterUpdate() &nbsp; &nbsp; TreeView0.Appearance = Nz(Me.CmbAppearance, 0) End Sub </pre> <div><br /> </div>