duilib属性列表

转自duilib uilib文档 使用时方便查询


duilib属性:

[html]  view plain  copy
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <?xml-stylesheet type="text/xsl" href="属性列表.xslt"?>  
  3. <!-- 可能有错漏,欢迎补充。wangchyz([email protected]) -->  
  4. <Controls>  
  5.     <Window parent="">  
  6.         <Attribute name="size" default="0,0" type="SIZE" comment="窗口的初始化大小,如(800,600)"/>  
  7.         <Attribute name="sizebox" default="0,0,0,0" type="RECT" comment="窗口可拖动改变窗口大小的边距,如(4,4,6,6)"/>  
  8.         <Attribute name="caption" default="0,0,0,0" type="RECT" comment="窗口可拖动的标题栏大小的边距,最后一个参数是指离上边框的距离,如(0,0,0,28)"/>  
  9.         <Attribute name="roundcorner" default="0,0" type="SIZE" comment="窗口圆角大小,如(4,4)"/>  
  10.         <Attribute name="mininfo" default="0,0" type="SIZE" comment="窗口最小大小,如(320,240)"/>  
  11.         <Attribute name="maxinfo" default="0,0" type="SIZE" comment="窗口最大大小,如(1600,1200)"/>  
  12.         <Attribute name="alpha" default="255" type="BYTE" comment="窗口的alpha值(0-255),如(100)"/>  
  13.         <Attribute name="bktrans" default="false" type="BOOL" comment="窗口是否使用静态透明背景,如(false)"/>  
  14.         <Attribute name="disabledfontcolor" default="0xFFA7A6AA" type="DWORD" comment="默认的disabled字体颜色,如(0xFFA7A6AA)"/>  
  15.         <Attribute name="defaultfontcolor" default="0xFF000000" type="DWORD" comment="默认的字体颜色,如(0xFF000000)"/>  
  16.         <Attribute name="linkfontcolor" default="0xFF0000FF" type="DWORD" comment="默认的link字体颜色,如(0xFF0000FF)"/>  
  17.         <Attribute name="linkhoverfontcolor" default="0xFFD3215F" type="DWORD" comment="默认的linkhoverfont字体颜色,如(0xFFD3215F)"/>  
  18.         <Attribute name="selectedcolor" default="0xFFBAE4FF" type="DWORD" comment="默认的selected字体颜色,如(0xFFBAE4FF)"/>  
  19.         <Attribute name="showshadow" default="false" type="BOOL" comment="是否启用窗体阴影"/>  
  20.         <Attribute name="shadowimage" default="" type="STRING" comment="阴影图片,使用此属性后自动屏蔽算法阴影(不支持source等属性设置)"/>  
  21.         <Attribute name="shadowcorner" default="0,0,0,0" type="RECT" comment="图片阴影的九宫格描述"/>  
  22.         <Attribute name="shadowsize" default="0" type="BYTE" comment="算法阴影的宽度(-20到20)"/>  
  23.         <Attribute name="shadowsharpness" default="255" type="BYTE" comment="算法阴影的锐度"/>  
  24.         <Attribute name="shadowdarkness" default="255" type="BYTE" comment="算法阴影的深度(相当于透明度)"/>  
  25.         <Attribute name="shadowpositon" default="0,0" type="SIZE" comment="算法阴影的偏移量"/>  
  26.         <Attribute name="shadowcolor" default="0x000000" type="DWORD" comment="算法阴影的颜色,RGB格式,不支持透明度,使用shadowdarkness设置透明度"/>  
  27.         <Attribute name="gdiplustext" default="false" type="BOOL" comment="是否用gdi+渲染文字(抗锯齿效果更好,但是效率低)"/>  
  28.     </Window>  
  29.     <ChildLayout parent="Container" >  
  30.         <Attribute name="xmlfile" default="" type="STRING" comment="子窗体XML布局文件"/>  
  31.     </ChildLayout>  
  32.     <Control parent="" notifies="setfocus killfocus timer menu windowinit(root)">  
  33.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  34.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  35.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  36.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  37.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  38.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  39.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  40.         <Attribute name="nativebkcolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  41.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  42.         <Attribute name="bordersize" default="0" type="INT | RECT" comment="可以设置INT或RECT类型的值。当值为ING时则左、上、右、下都用该值作为宽。值为RECT类型时则分别设置左、上、右、下的边框"/>  
  43.         <Attribute name="leftbordersize" default="0" type="INT" comment="左边边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  44.         <Attribute name="topbordersize" default="0" type="INT" comment="顶部边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  45.         <Attribute name="rightbordersize" default="0" type="INT" comment="右边边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  46.         <Attribute name="bottombordersize" default="0" type="INT" comment="底部边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  47.         <Attribute name="borderstyle" default="0" type="INT" comment="边框样式的设置,数值范围0-5"/>  
  48.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  49.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  50.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  51.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  52.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  53.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  54.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  55.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  56.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  57.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  58.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  59.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  60.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  61.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  62.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  63.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  64.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  65.         <Attribute name="keyboard" default="true" type="BOOL" comment="非CButtonUI类忽略该值,为false时不支持TAB_STOP,且该对象不处理键盘信息"/>  
  66.         <Attribute name="virtualwnd" default="" type="string" comment="设置控件的虚拟窗体的名字"/>  
  67.     </Control>  
  68.     <Container parent="Control" notifies="setfocus killfocus timer menu windowinit(root)">  
  69.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  70.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  71.         <Attribute name="relativepos" default="0,0,0,0" type="RECT" comment="设置相对移动,float为真时,分别表示横纵向位移值,横纵向缩放值,移动单位建议50或100"/>  
  72.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  73.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  74.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  75.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  76.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  77.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  78.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  79.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  80.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  81.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  82.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  83.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  84.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  85.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  86.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  87.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  88.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  89.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  90.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  91.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  92.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  93.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  94.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  95.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  96.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  97.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  98.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  99.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  100.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  101.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  102.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  103.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  104.     </Container>  
  105.     <VerticalLayout parent="Container" notifies="setfocus killfocus timer menu windowinit(root)">  
  106.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  107.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  108.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  109.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  110.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  111.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  112.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  113.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  114.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  115.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  116.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  117.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  118.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  119.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  120.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  121.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  122.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  123.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  124.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  125.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  126.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  127.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  128.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  129.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  130.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  131.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  132.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  133.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  134.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  135.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  136.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  137.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  138.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  139.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  140.         <Attribute name="sepheight" default="0" type="INT" comment="分隔符高度,正负表示分隔符在顶部还是底部,如(4)"/>  
  141.         <Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>  
  142.     </VerticalLayout>  
  143.     <HorizontalLayout parent="Container" notifies="setfocus killfocus timer menu windowinit(root)">  
  144.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  145.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  146.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  147.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  148.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  149.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  150.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  151.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  152.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  153.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  154.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  155.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  156.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  157.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  158.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  159.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  160.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  161.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  162.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  163.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  164.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  165.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  166.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  167.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  168.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  169.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  170.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  171.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  172.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  173.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  174.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  175.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  176.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  177.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  178.         <Attribute name="sepwidth" default="0" type="INT" comment="分隔符宽,正负表示分隔符在左边还是右边,如(-4)"/>  
  179.         <Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>  
  180.     </HorizontalLayout>  
  181.     <TileLayout parent="Container" notifies="setfocus killfocus timer menu windowinit(root)">  
  182.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  183.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  184.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  185.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  186.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  187.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  188.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  189.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  190.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  191.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  192.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  193.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  194.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  195.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  196.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  197.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  198.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  199.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  200.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  201.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  202.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  203.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  204.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  205.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  206.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  207.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  208.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  209.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  210.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  211.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  212.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  213.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  214.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  215.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  216.         <Attribute name="columns" default="1" type="INT" comment="列数,如(4)"/>  
  217.         <Attribute name="itemsize" default="0,0" type="SIZE" comment="子项固定大小,如(128,128)"/>  
  218.     </TileLayout>  
  219.     <TabLayout parent="Container" notifies="setfocus killfocus timer menu tabselect windowinit(root)">  
  220.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  221.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  222.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  223.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  224.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  225.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  226.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  227.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  228.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  229.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  230.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  231.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  232.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  233.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  234.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  235.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  236.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  237.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  238.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  239.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  240.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  241.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  242.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  243.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  244.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  245.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  246.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  247.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  248.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  249.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  250.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  251.         <Attribute name="childpadding" default="0" type="DWORD" comment="子控件之间的额外距离,如(4)"/>  
  252.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  253.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  254.         <Attribute name="selectedid" default="0" type="INT" comment="默认选中的页面id,如(0)"/>  
  255.     </TabLayout>  
  256.     <ActiveX parent="Control" notifies="setfocus killfocus timer menu showactivex windowinit(root)">  
  257.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  258.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  259.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  260.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  261.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  262.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  263.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  264.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  265.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  266.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  267.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  268.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  269.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  270.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  271.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  272.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  273.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  274.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  275.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  276.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  277.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  278.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  279.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  280.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  281.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  282.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  283.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  284.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  285.         <Attribute name="clsid" default="" type="STRING" comment="activex的clsid,如({8856F961-340A-11D0-A96B-00C04FD705A2})"/>  
  286.         <Attribute name="modulename" default="" type="STRING" comment="activex从指定位置加载,如(flash/flash.ocx)"/>  
  287.         <Attribute name="delaycreate" default="true" type="BOOL" comment="是否需要延迟创建activex,如(false)"/>  
  288.     </ActiveX>  
  289.     <WebBrowser parent="ActiveX" >  
  290.         <Attribute name="homepage" default="" type="STRING" comment="默认首页" />  
  291.         <Attribute name="autonavi" default="false" type="BOOL" comment="是否打开默认首页" />  
  292.     </WebBrowser>  
  293.     <Combo parent="Container" notifies="setfocus killfocus timer menu dropdown itemselect windowinit(root)">  
  294.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  295.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  296.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  297.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  298.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  299.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  300.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  301.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  302.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  303.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  304.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  305.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  306.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  307.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  308.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  309.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  310.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  311.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  312.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  313.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  314.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  315.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  316.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  317.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  318.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  319.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  320.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  321.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  322.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  323.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  324.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  325.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  326.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  327.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  328.         <Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>  
  329.         <Attribute name="normalimage" default="" type="STRING" comment="普通状态图片"/>  
  330.         <Attribute name="hotimage" default="" type="STRING" comment="鼠标悬浮的状态图片"/>  
  331.         <Attribute name="pushedimage" default="" type="STRING" comment="鼠标按下的状态图片"/>  
  332.         <Attribute name="focusedimage" default="" type="STRING" comment="获得焦点时的状态图片"/>  
  333.         <Attribute name="disabledimage" default="" type="STRING" comment="禁用的状态图片"/>  
  334.         <Attribute name="dropboxsize" default="0,150" type="STRING" comment="弹出框大小设置"/>  
  335.         <Attribute name="itemfont" default="-1" type="INT" comment="item的字体id,如(0)"/>  
  336.         <Attribute name="itemalign" default="center" type="STRING" comment="item对齐方式,取值left、right、center,如(center)"/>  
  337.         <Attribute name="itemendellipsis" default="false" type="BOOL" comment="item句末显示不全是否使用...代替,如(true)"/>  
  338.         <Attribute name="itemtextpadding" default="0,0,0,0" type="RECT" comment="item文字显示的边距,如(2,2,2,2)"/>  
  339.         <Attribute name="itemtextcolor" default="0xFF000000" type="DWORD" comment="item字体颜色"/>  
  340.         <Attribute name="itembkcolor" default="0x00000000" type="DWORD" comment="item背景颜色"/>  
  341.         <Attribute name="itembkimage" default="" type="STRING" comment="item背景图片"/>  
  342.         <Attribute name="itemaltbk" default="false" type="BOOL" comment="item是否使用隔行交替背景"/>  
  343.         <Attribute name="itemselectedtextcolor" default="0xFF000000" type="DWORD" comment="item被选中时的字体颜色"/>  
  344.         <Attribute name="itemselectedbkcolor" default="0xFFC1E3FF" type="DWORD" comment="item被选中时的背景颜色"/>  
  345.         <Attribute name="itemselectedimage" default="" type="STRING" comment="item被选中时的背景图片"/>  
  346.         <Attribute name="itemhottextcolor" default="0xFF000000" type="DWORD" comment="item鼠标悬浮时的字体颜色"/>  
  347.         <Attribute name="itemhotbkcolor" default="0xFFE9F5FF" type="DWORD" comment="item鼠标悬浮时的背景颜色"/>  
  348.         <Attribute name="itemhotimage" default="" type="STRING" comment="item鼠标悬浮时的背景图片"/>  
  349.         <Attribute name="itemdisabledtextcolor" default="0xFFCCCCCC" type="DWORD" comment="item禁用时的字体颜色"/>  
  350.         <Attribute name="itemdisabledbkcolor" default="0xFFFFFFFF" type="DWORD" comment="item禁用时的背景颜色"/>  
  351.         <Attribute name="itemdisabledimage" default="" type="STRING" comment="item禁用时的背景图片"/>  
  352.         <Attribute name="itemlinecolor" default="0x00000000" type="DWORD" comment="item行分割线颜色"/>  
  353.         <Attribute name="itemshowhtml" default="false" type="BOOL" comment="item是否使用类html富文本绘制,如(false)"/>  
  354.         <Attribute name="multiexpanding" default="false" type="BOOL" comment="是否支持多个item同时打开,如(false)"/>  
  355.     </Combo>  
  356.     <Label parent="Control" notifies="setfocus killfocus timer menu windowinit(root)">  
  357.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  358.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  359.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  360.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  361.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  362.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  363.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  364.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  365.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  366.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  367.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  368.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  369.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  370.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  371.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  372.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  373.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  374.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  375.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  376.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  377.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  378.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  379.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  380.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  381.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  382.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  383.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  384.         <Attribute name="align" default="left" type="STRING" comment="文字对齐方式,取值left、right、center、top、bottom,如(center)"/>  
  385.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不全是否使用...代替,如(true)"/>  
  386.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  387.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  388.         <Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>  
  389.         <Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>  
  390.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  391.         <Attribute name="enabledeffect" default="false" type="BOOL" comment="是否使用字体特效,使用下面文字特效属性必须该属性设置为true方有效"/>  
  392.         <Attribute name="align" default="left" type="STRING" comment="文字横向对齐方式,取值left、center、right"/>  
  393.         <Attribute name="valign" default="center" type="STRING" comment="文字纵向对齐方式,取值top、center、bottom"/>  
  394.         <Attribute name="rhaa" default="0" type="STRING" comment="字体质量0-5"/>  
  395.         <Attribute name="enabledstroke" default="false" type="BOOL" comment="是否使用描边效果"/>  
  396.         <Attribute name="strokecolor" default="0x00000000" type="STRING" comment="字体描边的颜色"/>  
  397.         <Attribute name="transstroke" default="255" type="STRING" comment="字体描边的颜色透明度 0-255"/>  
  398.         <Attribute name="enabledshadow" default="false" type="BOOL" comment="是否使用阴影效果"/>  
  399.         <Attribute name="gradientangle" default="0" type="INT" comment="渐变色渲染角度"/>  
  400.         <Attribute name="gradientlength" default="0" type="INT" comment="渐变距离"/>  
  401.         <Attribute name="textcolor1" default="0x00000000" type="STRING" comment="字体渐变色"/>  
  402.         <Attribute name="textshadowcolora" default="0xff000000" type="STRING" comment="字体阴影渐变色"/>  
  403.         <Attribute name="textshadowcolorb" default="0xff000000" type="STRING" comment="字体阴影渐变色"/>  
  404.         <Attribute name="transshadow" default="100" type="INT" comment="阴影透明度"/>  
  405.         <Attribute name="transshadow1" default="100" type="INT" comment="阴影透明度"/>  
  406.         <Attribute name="transtext" default="100" type="INT" comment="字体色彩透明度"/>  
  407.         <Attribute name="transtext1" default="100" type="INT" comment="字体色彩透明度"/>  
  408.         <Attribute name="autocalcwidth" default="false" type="INT" comment="是否自动计算宽度"/>         
  409.     </Label>  
  410.     <GifAnim parent="Control" notifies="setfocus killfocus timer menu windowinit(root)">  
  411.         <Attribute name="bkimage" default="" type="STRING" comment="Gif动画图片路径(不支持source等属性设置)"/>  
  412.         <Attribute name="autoplay" default="true" type="BOOL" comment="是否自动播放GIF动画"/>  
  413.         <Attribute name="autosize" default="false" type="BOOL" comment="是否根据图片自动设置控件大小(开启后width和height属性失效)"/>  
  414.     </GifAnim>  
  415.     <Menu parent="CListUI" notifies="setfocus killfocus timer menu itemselect windowinit(root)">  
  416.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="菜单的高度等于所有菜单项的高度之和,加上inset属性的top和bottom"/>  
  417.         <!-- Menu标签的属性要通过Default来定义,为了让下级菜单也能拥有同样的外观,其他属性设置见List -->  
  418.     </Menu>  
  419.     <MenuElement parent="CListContainerElementUI" notifies="click valuechanged WM_MENUCLICK">  
  420.         <Attribute name="icon" default="" type="STRING" comment="菜单项的图标图片"/>  
  421.         <Attribute name="iconsize" default="0,0" type="SIZE" comment="图片的大小,最大为26x26"/>  
  422.         <Attribute name="checkitem" default="false" type="BOOL" comment="是否有复选功能"/>  
  423.         <Attribute name="ischeck" default="false" type="BOOL" comment="是否被选中(前提是开启了复选功能,复选功能属性应该写在本属性的前面)"/>  
  424.         <Attribute name="linetype" default="false" type="BOOL" comment="是否是分割线(开启后将不会显示图标)"/>  
  425.         <Attribute name="linepadding" default="29,0,7,0" type="RECT" comment="分割线的外边据"/>  
  426.         <Attribute name="linecolor" default="0xFFBCBFC4" type="DWORD" comment="分割线的颜色"/>  
  427.         <Attribute name="expland" default="false" type="BOOL" comment="是否显示下级菜单的小三角图片(需要通过Default标签设置ExplandIcon属性图片的路径)"/>  
  428.         <Attribute name="height" default="30" type="INT" comment="菜单项高度(分割线默认高度是6)"/>  
  429.     </MenuElement>  
  430.     <Button parent="Label" notifies="setfocus killfocus timer menu click windowinit(root)">  
  431.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  432.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  433.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  434.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  435.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  436.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  437.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  438.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  439.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  440.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  441.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  442.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  443.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  444.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  445.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  446.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  447.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  448.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  449.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  450.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  451.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  452.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  453.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  454.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  455.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  456.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  457.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  458.         <Attribute name="align" default="left" type="STRING" comment="文字对齐方式,取值left、right、center、top、button,如(center)"/>  
  459.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不完是否使用...代替,如(true)"/>  
  460.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  461.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  462.         <Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>  
  463.         <Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>  
  464.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  465.         <Attribute name="normalimage" default="" type="STRING" comment="普通状态图片"/>  
  466.         <Attribute name="hotimage" default="" type="STRING" comment="鼠标悬浮的状态图片"/>  
  467.         <Attribute name="pushedimage" default="" type="STRING" comment="鼠标按下的状态图片"/>  
  468.         <Attribute name="focusedimage" default="" type="STRING" comment="获得焦点时的状态图片"/>  
  469.         <Attribute name="disabledimage" default="" type="STRING" comment="禁用的状态图片"/>  
  470.         <Attribute name="hottextcolor" default="0x00000000" type="DWORD" comment="鼠标悬浮字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>  
  471.         <Attribute name="pushedtextcolor" default="0x00000000" type="DWORD" comment="鼠标按下字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>  
  472.         <Attribute name="focusedtextcolor" default="0x00000000" type="DWORD" comment="获得焦点字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>  
  473.         <Attribute name="autocalcwidth" default="false" type="INT" comment="是否自动计算宽度"/>     
  474.         <Attribute name="bindtablayoutname" default="" type="STRING" comment="绑定TabLayout控件"/>  
  475.         <Attribute name="bindtabindex" default="" type="INT" comment="点击后将触发绑定TabLayout控件的对应索引号"/>  
  476.         <Attribute name="multiline" default="false" type="INT" comment="是否支持多行文字"/>  
  477.     </Button>  
  478.     <Option parent="Button" notifies="setfocus killfocus timer menu click selectchanged windowinit(root)">  
  479.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  480.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  481.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  482.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  483.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  484.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  485.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  486.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  487.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  488.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  489.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  490.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  491.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  492.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  493.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  494.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  495.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  496.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  497.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  498.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  499.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  500.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  501.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  502.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  503.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  504.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  505.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  506.         <Attribute name="align" default="left" type="STRING" comment="文字对齐方式,取值left、right、center、top、button,如(center)"/>  
  507.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不完是否使用...代替,如(true)"/>  
  508.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  509.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  510.         <Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>  
  511.         <Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>  
  512.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  513.         <Attribute name="normalimage" default="" type="STRING" comment="普通状态图片"/>  
  514.         <Attribute name="hotimage" default="" type="STRING" comment="鼠标悬浮的状态图片"/>  
  515.         <Attribute name="pushedimage" default="" type="STRING" comment="鼠标按下的状态图片"/>  
  516.         <Attribute name="focusedimage" default="" type="STRING" comment="获得焦点时的状态图片"/>  
  517.         <Attribute name="disabledimage" default="" type="STRING" comment="禁用的状态图片"/>  
  518.         <Attribute name="selectedimage" default="" type="STRING" comment="选中的状态图片"/>  
  519.         <Attribute name="selectedhotimage" default="" type="STRING" comment="选中鼠标悬浮的的状态图片"/>  
  520.         <Attribute name="selectedpushedimage" default="" type="STRING" comment="选中鼠标按下的的状态图片"/>  
  521.         <Attribute name="foreimage" default="" type="STRING" comment="前景图片"/>  
  522.         <Attribute name="slectedforeimage" default="" type="STRING" comment="选中的前景图片"/>  
  523.         <Attribute name="hottextcolor" default="0x00000000" type="DWORD" comment="鼠标悬浮字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>  
  524.         <Attribute name="pushedtextcolor" default="0x00000000" type="DWORD" comment="鼠标按下字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>  
  525.         <Attribute name="focusedtextcolor" default="0x00000000" type="DWORD" comment="获得焦点字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>  
  526.         <Attribute name="selectedtextcolor" default="0x00000000" type="DWORD" comment="选中状态字体颜色,0表示不使用此颜色,如(0xFFFF0000)"/>  
  527.         <Attribute name="group" default="" type="STRING" comment="所属组的名称,可不设"/>  
  528.         <Attribute name="selected" default="false" type="BOOL" comment="是否选中"/>  
  529.         <Attribute name="bindtablayoutname" default="" type="STRING" comment="绑定TabLayout控件"/>  
  530.         <Attribute name="bindtabindex" default="" type="INT" comment="点击后将触发绑定TabLayout控件的对应索引号"/>  
  531.     </Option>  
  532.     <Text parent="Label" notifies="setfocus killfocus timer menu link windowinit(root)">  
  533.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  534.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  535.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  536.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  537.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  538.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  539.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  540.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  541.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  542.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  543.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  544.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  545.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  546.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  547.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  548.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  549.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  550.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  551.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  552.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  553.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  554.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  555.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  556.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  557.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  558.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  559.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  560.         <Attribute name="align" default="left" type="STRING" comment="文字对齐方式,取值left、right、center、top、button,如(center)"/>  
  561.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不完是否使用...代替,如(true)"/>  
  562.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  563.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  564.         <Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>  
  565.         <Attribute name="textpadding" default="2,0,2,0" type="RECT" comment="文字显示的边距,如(2,0,2,0)"/>  
  566.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  567.         <Attribute name="autocalcwidth" default="false" type="INT" comment="是否自动计算宽度"/>     
  568.     </Text>  
  569.     <Progress parent="Label" notifies="setfocus killfocus timer menu windowinit(root)">  
  570.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  571.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  572.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  573.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  574.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  575.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  576.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  577.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  578.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  579.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  580.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  581.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  582.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  583.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  584.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  585.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  586.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  587.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  588.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  589.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  590.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  591.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  592.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  593.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  594.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  595.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  596.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  597.         <Attribute name="align" default="certer" type="STRING" comment="文字对齐方式,取值left、right、center、top、button,如(center)"/>  
  598.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不完是否使用...代替,如(true)"/>  
  599.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  600.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  601.         <Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>  
  602.         <Attribute name="textpadding" default="2,0,2,0" type="RECT" comment="文字显示的边距,如(2,0,2,0)"/>  
  603.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  604.         <Attribute name="foreimage" default="" type="STRING" comment="前景图片"/>  
  605.         <Attribute name="hor" default="true" type="BOOL" comment="水平或垂直,如(true)"/>  
  606.         <Attribute name="min" default="0" type="INT" comment="进度最小值,如(0)"/>  
  607.         <Attribute name="max" default="100" type="INT" comment="进度最大值,如(100)"/>  
  608.         <Attribute name="value" default="0" type="INT" comment="进度值,如(50)"/>  
  609.         <Attribute name="isstretchfore" default="TRUE" type="BOOL" comment="指定前景图片是否缩放显示"/>  
  610.         <Attribute name="autocalcwidth" default="false" type="INT" comment="是否自动计算宽度"/>     
  611.     </Progress>  
  612.     <Slider parent="Progress" notifies="setfocus killfocus timer menu valuechanged movevaluechanged windowinit(root)">  
  613.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  614.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  615.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  616.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  617.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  618.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  619.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  620.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  621.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  622.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  623.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  624.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  625.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  626.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  627.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  628.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  629.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  630.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  631.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  632.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  633.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  634.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  635.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  636.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  637.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  638.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  639.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  640.         <Attribute name="align" default="center" type="STRING" comment="文字对齐方式,取值left、right、center、top、button,如(center)"/>  
  641.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不完是否使用...代替,如(true)"/>  
  642.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  643.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  644.         <Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>  
  645.         <Attribute name="textpadding" default="2,0,2,0" type="RECT" comment="文字显示的边距,如(2,0,2,0)"/>  
  646.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  647.         <Attribute name="foreimage" default="" type="STRING" comment="前景图片"/>  
  648.         <Attribute name="hor" default="true" type="BOOL" comment="水平或垂直,如(true)"/>  
  649.         <Attribute name="min" default="0" type="INT" comment="进度最小值,如(0)"/>  
  650.         <Attribute name="max" default="100" type="INT" comment="进度最大值,如(100)"/>  
  651.         <Attribute name="value" default="0" type="INT" comment="进度值,如(50)"/>  
  652.         <Attribute name="thumbimage" default="" type="STRING" comment="拖动滑块普通状态图片"/>  
  653.         <Attribute name="thumbhotimage" default="" type="STRING" comment="拖动滑块鼠标悬浮状态图片"/>  
  654.         <Attribute name="thumbpushedimage" default="" type="STRING" comment="拖动滑块鼠标按下状态图片"/>  
  655.         <Attribute name="thumbsize" default="10,10" type="SIZE" comment="拖动滑块大小,如(10,10)"/>  
  656.         <Attribute name="step" default="1" type="INT" comment="进度步长,如(1)"/>  
  657.         <Attribute name="sendmove" default="false" type="BOOL" comment="是否发送movevaluechanged消息"/>  
  658.     </Slider>  
  659.     <Edit parent="Label" notifies="setfocus killfocus timer menu return textchanged windowinit(root)">  
  660.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  661.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  662.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  663.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  664.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  665.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  666.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  667.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  668.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  669.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  670.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  671.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  672.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  673.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  674.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  675.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  676.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  677.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  678.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  679.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  680.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  681.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  682.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  683.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  684.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  685.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  686.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  687.         <Attribute name="align" default="left" type="STRING" comment="文字对齐方式,取值left、right、center、top、button,如(center)"/>  
  688.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不完是否使用...代替,如(true)"/>  
  689.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  690.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  691.         <Attribute name="disabledtextcolor" default="0x00000000" type="DWORD" comment="disabled字体颜色,0表示使用默认disabled字体颜色,如(0xFFFF0000)"/>  
  692.         <Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>  
  693.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  694.         <Attribute name="readonly" default="false" type="BOOL" comment="是否只读,如(false)"/>  
  695.         <Attribute name="password" default="false" type="BOOL" comment="是否显示密码字符,如(false)"/>  
  696.         <Attribute name="maxchar" default="255" type="INT" comment="输入字符最大长度,如(100)"/>  
  697.         <Attribute name="normalimage" default="" type="STRING" comment="普通状态图片"/>  
  698.         <Attribute name="hotimage" default="" type="STRING" comment="鼠标悬浮状态图片"/>  
  699.         <Attribute name="focusedimage" default="" type="STRING" comment="获得焦点状态图片"/>  
  700.         <Attribute name="disabledimage" default="" type="STRING" comment="禁用状态图片"/>  
  701.         <Attribute name="nativebkcolor" default="0x00000000" type="DWORD" comment="windows原生edit控件的背景颜色,如(0xFFFFFFFF)"/>  
  702.         <Attribute name="nativetextcolor" default="0x00000000" type="DWORD" comment="windows原生edit控件的文字颜色,如(0xFFFFFFFF)"/>  
  703.         <Attribute name="passwordchar" default="" type="STRING" comment="设置密码字符"/>  
  704.         <Attribute name="tipvalue" default="" type="STRING" comment="文本框内提示文字,当文本框text为空时显示并失去焦点时显示"/>  
  705.         <Attribute name="tipvaluecolor" default="0xFFBAC0C5" type="DWORD" comment="文本框内提示文字的颜色"/>  
  706.     </Edit>  
  707.     <ScrollBar parent="Control" notifies="timer menu scrolled windowinit(root)">  
  708.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  709.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  710.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  711.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  712.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  713.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  714.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  715.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  716.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  717.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  718.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  719.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  720.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  721.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  722.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  723.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  724.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  725.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  726.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  727.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  728.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  729.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  730.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  731.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  732.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  733.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  734.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  735.         <Attribute name="button1normalimage" default="" type="STRING" comment="左或上按钮普通状态图片"/>  
  736.         <Attribute name="button1hotimage" default="" type="STRING" comment="左或上按钮鼠标悬浮状态图片"/>  
  737.         <Attribute name="button1pushedimage" default="" type="STRING" comment="左或上按钮鼠标按下状态图片"/>  
  738.         <Attribute name="button1disabledimage" default="" type="STRING" comment="左或上按钮禁用状态图片"/>  
  739.         <Attribute name="button2normalimage" default="" type="STRING" comment="右或下按钮普通状态图片"/>  
  740.         <Attribute name="button2hotimage" default="" type="STRING" comment="右或下按钮鼠标悬浮状态图片"/>  
  741.         <Attribute name="button2pushedimage" default="" type="STRING" comment="右或下按钮鼠标按下状态图片"/>  
  742.         <Attribute name="button2disabledimage" default="" type="STRING" comment="右或下按钮禁用状态图片"/>  
  743.         <Attribute name="thumbnormalimage" default="" type="STRING" comment="滑块普通状态图片"/>  
  744.         <Attribute name="thumbhotimage" default="" type="STRING" comment="滑块鼠标悬浮状态图片"/>  
  745.         <Attribute name="thumbpushedimage" default="" type="STRING" comment="滑块鼠标按下状态图片"/>  
  746.         <Attribute name="thumbdisabledimage" default="" type="STRING" comment="滑块禁用状态图片"/>  
  747.         <Attribute name="railnormalimage" default="" type="STRING" comment="滑块中间标识普通状态图片"/>  
  748.         <Attribute name="railhotimage" default="" type="STRING" comment="滑块中间标识鼠标悬浮状态图片"/>  
  749.         <Attribute name="railpushedimage" default="" type="STRING" comment="滑块中间标识鼠标按下状态图片"/>  
  750.         <Attribute name="raildisabledimage" default="" type="STRING" comment="滑块中间标识禁用状态图片"/>  
  751.         <Attribute name="bknormalimage" default="" type="STRING" comment="背景普通状态图片"/>  
  752.         <Attribute name="bkhotimage" default="" type="STRING" comment="背景鼠标悬浮状态图片"/>  
  753.         <Attribute name="bkpushedimage" default="" type="STRING" comment="背景鼠标按下状态图片"/>  
  754.         <Attribute name="bkdisabledimage" default="" type="STRING" comment="背景禁用状态图片"/>  
  755.         <Attribute name="hor" default="true" type="BOOL" comment="水平或垂直,如(true)"/>  
  756.         <Attribute name="linesize" default="8" type="INT" comment="滚动一行的大小,如(8)"/>  
  757.         <Attribute name="range" default="100" type="INT" comment="滚动范围,如(100)"/>  
  758.         <Attribute name="value" default="0" type="INT" comment="滚动位置,如(0)"/>  
  759.         <Attribute name="showbutton1" default="true" type="BOOL" comment="是否显示左或上按钮,如(true)"/>  
  760.         <Attribute name="showbutton2" default="true" type="BOOL" comment="是否显示右或下按钮,如(true)"/>  
  761.     </ScrollBar>  
  762.     <List parent="VerticalLayout" notifies="setfocus killfocus timer menu itemselect windowinit(root)">  
  763.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  764.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  765.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  766.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  767.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  768.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  769.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  770.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  771.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  772.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  773.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  774.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  775.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  776.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  777.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  778.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  779.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  780.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  781.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  782.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  783.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  784.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  785.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  786.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  787.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  788.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  789.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  790.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  791.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  792.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  793.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  794.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  795.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  796.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  797.         <Attribute name="sepheight" default="0" type="INT" comment="分隔符高度,正负表示分隔符在顶部还是底部,如(4)"/>  
  798.         <Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>  
  799.         <Attribute name="header" default="true" type="BOOL" comment="是否显示表头,如(true),隐藏则设置为hidden"/>  
  800.         <Attribute name="headerbkimage" default="" type="STRING" comment="表头背景图片"/>  
  801.         <Attribute name="scrollselect" default="false" type="BOOL" comment="是否随滚动改变选中项,如(false)"/>  
  802.         <Attribute name="itemfont" default="-1" type="INT" comment="item的字体id,如(0)"/>  
  803.         <Attribute name="itemalign" default="center" type="STRING" comment="item对齐方式,取值left、right、center,如(center)"/>  
  804.         <Attribute name="itemendellipsis" default="false" type="BOOL" comment="item句末显示不全是否使用...代替,如(true)"/>  
  805.         <Attribute name="itemtextpadding" default="0,0,0,0" type="RECT" comment="item文字显示的边距,如(2,2,2,2)"/>  
  806.         <Attribute name="itemtextcolor" default="0xFF000000" type="DWORD" comment="item字体颜色"/>  
  807.         <Attribute name="itembkcolor" default="0x00000000" type="DWORD" comment="item背景颜色"/>  
  808.         <Attribute name="itembkimage" default="" type="STRING" comment="item背景图片"/>  
  809.         <Attribute name="itemaltbk" default="false" type="BOOL" comment="item是否使用隔行交替背景"/>  
  810.         <Attribute name="itemselectedtextcolor" default="0xFF000000" type="DWORD" comment="item被选中时的字体颜色"/>  
  811.         <Attribute name="itemselectedbkcolor" default="0xFFC1E3FF" type="DWORD" comment="item被选中时的背景颜色"/>  
  812.         <Attribute name="itemselectedimage" default="" type="STRING" comment="item被选中时的背景图片"/>  
  813.         <Attribute name="itemhottextcolor" default="0xFF000000" type="DWORD" comment="item鼠标悬浮时的字体颜色"/>  
  814.         <Attribute name="itemhotbkcolor" default="0xFFE9F5FF" type="DWORD" comment="item鼠标悬浮时的背景颜色"/>  
  815.         <Attribute name="itemhotimage" default="" type="STRING" comment="item鼠标悬浮时的背景图片"/>  
  816.         <Attribute name="itemdisabledtextcolor" default="0xFFCCCCCC" type="DWORD" comment="item禁用时的字体颜色"/>  
  817.         <Attribute name="itemdisabledbkcolor" default="0xFFFFFFFF" type="DWORD" comment="item禁用时的背景颜色"/>  
  818.         <Attribute name="itemdisabledimage" default="" type="STRING" comment="item禁用时的背景图片"/>  
  819.         <Attribute name="itemlinecolor" default="0x00000000" type="DWORD" comment="item行分割线颜色"/>  
  820.         <Attribute name="itemshowhtml" default="false" type="BOOL" comment="item是否使用类html富文本绘制,如(false)"/>  
  821.         <Attribute name="multiexpanding" default="false" type="BOOL" comment="是否支持多个item同时打开,如(false)"/>  
  822.     </List>  
  823.     <ListHeader parent="HorizontalLayout" notifies="setfocus killfocus timer windowinit(root)">  
  824.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  825.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  826.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  827.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  828.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  829.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  830.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  831.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  832.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  833.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  834.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  835.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  836.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  837.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  838.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  839.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  840.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  841.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  842.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  843.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  844.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  845.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  846.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  847.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  848.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  849.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  850.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  851.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  852.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  853.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  854.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  855.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  856.         <Attribute name="sepwidth" default="0" type="INT" comment="分隔符宽,正负表示分隔符在左边还是右边,如(-4)"/>  
  857.         <Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>  
  858.         <Attribute name="scaleheader" default="false" type="BOOL" comment="每个表头的宽度是否按照百分比来设置"/>  
  859.     </ListHeader>  
  860.     <ListHeaderItem parent="Control" notifies="setfocus killfocus timer headerclick windowinit(root)">  
  861.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  862.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  863.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  864.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  865.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  866.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  867.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  868.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  869.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  870.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  871.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  872.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  873.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  874.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  875.         <Attribute name="minwidth" default="16" type="INT" comment="控件的最小宽度,如(100)"/>  
  876.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  877.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  878.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  879.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  880.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  881.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  882.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  883.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  884.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  885.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  886.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  887.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  888.         <Attribute name="dragable" default="true" type="BOOL" comment="是否可拖动改变大小,如(true)"/>  
  889.         <Attribute name="sepwidth" default="4" type="INT" comment="分隔符宽,如(4)"/>  
  890.         <Attribute name="align" default="left" type="STRING" comment="文字对齐方式,取值left、right、cente,如(center)"/>  
  891.         <Attribute name="endellipsis" default="false" type="BOOL" comment="句末显示不全是否使用...代替,如(true)"/>  
  892.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  893.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="字体颜色,0表示使用默认字体颜色,如(0xFFFF0000)"/>  
  894.         <Attribute name="textpadding" default="2,0,2,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>  
  895.         <Attribute name="showhtml" default="false" type="BOOL" comment="是否使用类html富文本绘制,如(false)"/>  
  896.         <Attribute name="normalimage" default="" type="STRING" comment="普通状态图片"/>  
  897.         <Attribute name="hotimage" default="" type="STRING" comment="鼠标悬浮的状态图片"/>  
  898.         <Attribute name="pushedimage" default="" type="STRING" comment="鼠标按下的状态图片"/>  
  899.         <Attribute name="focusedimage" default="" type="STRING" comment="获得焦点时的状态图片"/>  
  900.         <Attribute name="sepimage" default="" type="STRING" comment="拖动条图片"/>  
  901.         <Attribute name="scale" default="0" type="INT" comment="设置子表头所占总表头的百分比宽度,如40(代表占40%的宽度)"/>  
  902.     </ListHeaderItem>  
  903.     <ListLabelElement parent="Control" notifies="setfocus killfocus timer itemactivate itemclick windowinit(root)">  
  904.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  905.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  906.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  907.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  908.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  909.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  910.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  911.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  912.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  913.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  914.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  915.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  916.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  917.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  918.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  919.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  920.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  921.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  922.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  923.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  924.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  925.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  926.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  927.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  928.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  929.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  930.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  931.         <Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)"/>  
  932.     </ListLabelElement>  
  933.     <ListTextElement parent="ListLabelElement" notifies="setfocus killfocus timer itemactivate itemclick link windowinit(root)">  
  934.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  935.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  936.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  937.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  938.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  939.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  940.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  941.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  942.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  943.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  944.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  945.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  946.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  947.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  948.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  949.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  950.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  951.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  952.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  953.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  954.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  955.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  956.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  957.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  958.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  959.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  960.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  961.         <Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)"/>  
  962.     </ListTextElement>  
  963.     <ListContainerElement parent="Container" notifies="setfocus killfocus timer itemactivate itemclick itemexpanded itemcollapsed windowinit(root)">  
  964.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  965.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  966.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  967.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  968.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  969.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  970.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  971.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  972.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  973.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  974.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  975.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  976.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  977.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  978.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  979.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  980.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  981.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  982.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  983.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  984.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  985.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  986.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  987.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  988.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  989.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  990.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  991.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  992.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  993.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  994.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  995.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  996.         <Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)"/>  
  997.     </ListContainerElement>  
  998.     <RichEdit parent="Container" notifies="setfocus killfocus timer menu return windowinit(root)">  
  999.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  1000.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  1001.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  1002.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  1003.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  1004.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  1005.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  1006.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  1007.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  1008.         <Attribute name="bordersize" default="0" type="INT" comment="边框大小,如(1)"/>  
  1009.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  1010.         <Attribute name="bordervisible" default="false" type="BOOL" comment="是否显示边框"/>  
  1011.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  1012.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  1013.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  1014.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  1015.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  1016.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  1017.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  1018.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  1019.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  1020.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  1021.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  1022.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  1023.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  1024.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  1025.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  1026.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  1027.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  1028.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  1029.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  1030.         <Attribute name="autovscroll" default="false" type="BOOL" comment="是否随输入竖向滚动,如(true)"/>  
  1031.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  1032.         <Attribute name="autohscroll" default="false" type="BOOL" comment="是否随输入横向滚动,如(true)"/>  
  1033.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  1034.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  1035.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  1036.         <Attribute name="wanttab" default="true" type="BOOL" comment="是否接受tab按键消息,如(true)"/>  
  1037.         <Attribute name="wantreturn" default="true" type="BOOL" comment="是否接受return按键消息,如(true)"/>  
  1038.         <Attribute name="wantctrlreturn" default="true" type="BOOL" comment="是否接受ctrl+return按键消息,如(true)"/>  
  1039.         <Attribute name="transparent" default="true" type="BOOL" comment="是否背景透明,如(true)"/>  
  1040.         <Attribute name="rich" default="true" type="BOOL" comment="是否使用富格式,如(true)"/>  
  1041.         <Attribute name="multiline" default="true" type="BOOL" comment="是否使用多行,如(true)"/>  
  1042.         <Attribute name="readonly" default="false" type="BOOL" comment="是否只读,如(false)"/>  
  1043.         <Attribute name="password" default="false" type="BOOL" comment="是否显示密码符,如(true)"/>  
  1044.         <Attribute name="align" default="left" type="STRING" comment="文字对齐方式,取值left、right、cente,如(center)"/>  
  1045.         <Attribute name="font" default="-1" type="INT" comment="字体id,如(0)"/>  
  1046.         <Attribute name="textcolor" default="0xFF000000" type="DWORD" comment="字体颜色,如(0xFFFF0000)"/>  
  1047.         <Attribute name="maxchar" default="-1" type="INT" comment="输入字符最大长度,如(100),默认为无限制"/>  
  1048.         <Attribute name="normalimage" default="" type="STRING" comment="普通状态图片"/>  
  1049.         <Attribute name="hotimage" default="" type="STRING" comment="鼠标悬浮状态图片"/>  
  1050.         <Attribute name="focusedimage" default="" type="STRING" comment="获得焦点状态图片"/>  
  1051.         <Attribute name="disabledimage" default="" type="STRING" comment="禁用状态图片"/>  
  1052.         <Attribute name="textpadding" default="0,0,0,0" type="RECT" comment="文字显示的边距,如(2,2,2,2)"/>  
  1053.         <Attribute name="tipvalue" default="" type="STRING" comment="文本框内提示文字,当文本框text为空时显示并失去焦点时显示"/>  
  1054.         <Attribute name="tipvaluecolor" default="0xFFBAC0C5" type="DWORD" comment="文本框内提示文字的颜色"/>  
  1055.     </RichEdit>  
  1056.     <TreeView parent="List" notifies="selectchanged setfocus killfocus timer menu itemselect windowinit(root)">  
  1057.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  1058.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  1059.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  1060.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  1061.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  1062.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  1063.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  1064.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  1065.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  1066.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  1067.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  1068.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  1069.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  1070.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  1071.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  1072.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  1073.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  1074.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  1075.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  1076.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  1077.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  1078.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  1079.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  1080.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  1081.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  1082.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  1083.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  1084.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  1085.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  1086.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  1087.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  1088.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  1089.         <Attribute name="vscrollbarstyle" default="" type="STRING" comment="设置本容器的纵向滚动条的样式"/>  
  1090.         <Attribute name="hscrollbarstyle" default="" type="STRING" comment="设置本容器的横向滚动条的样式"/>  
  1091.         <Attribute name="sepheight" default="0" type="INT" comment="分隔符高度,正负表示分隔符在顶部还是底部,如(4)"/>  
  1092.         <Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>  
  1093.         <Attribute name="header" default="true" type="BOOL" comment="是否显示表头,如(true)"/>  
  1094.         <Attribute name="headerbkimage" default="" type="STRING" comment="表头背景图片"/>  
  1095.         <Attribute name="scrollselect" default="false" type="BOOL" comment="是否随滚动改变选中项,如(false)"/>  
  1096.         <Attribute name="itemfont" default="-1" type="INT" comment="item的字体id,如(0)"/>  
  1097.         <Attribute name="itemalign" default="center" type="STRING" comment="item对齐方式,取值left、right、center,如(center)"/>  
  1098.         <Attribute name="itemendellipsis" default="false" type="BOOL" comment="item句末显示不全是否使用...代替,如(true)"/>  
  1099.         <Attribute name="itemtextpadding" default="0,0,0,0" type="RECT" comment="item文字显示的边距,如(2,2,2,2)"/>  
  1100.         <Attribute name="itemtextcolor" default="0xFF000000" type="DWORD" comment="item字体颜色"/>  
  1101.         <Attribute name="itembkcolor" default="0x00000000" type="DWORD" comment="item背景颜色"/>  
  1102.         <Attribute name="itembkimage" default="" type="STRING" comment="item背景图片"/>  
  1103.         <Attribute name="itemaltbk" default="false" type="BOOL" comment="item是否使用隔行交替背景"/>  
  1104.         <Attribute name="itemselectedtextcolor" default="0xFF000000" type="DWORD" comment="item被选中时的字体颜色"/>  
  1105.         <Attribute name="itemselectedbkcolor" default="0xFFC1E3FF" type="DWORD" comment="item被选中时的背景颜色"/>  
  1106.         <Attribute name="itemselectedimage" default="" type="STRING" comment="item被选中时的背景图片"/>  
  1107.         <Attribute name="itemhottextcolor" default="0xFF000000" type="DWORD" comment="item鼠标悬浮时的字体颜色"/>  
  1108.         <Attribute name="itemhotbkcolor" default="0xFFE9F5FF" type="DWORD" comment="item鼠标悬浮时的背景颜色"/>  
  1109.         <Attribute name="itemhotimage" default="" type="STRING" comment="item鼠标悬浮时的背景图片"/>  
  1110.         <Attribute name="itemdisabledtextcolor" default="0xFFCCCCCC" type="DWORD" comment="item禁用时的字体颜色"/>  
  1111.         <Attribute name="itemdisabledbkcolor" default="0xFFFFFFFF" type="DWORD" comment="item禁用时的背景颜色"/>  
  1112.         <Attribute name="itemdisabledimage" default="" type="STRING" comment="item禁用时的背景图片"/>  
  1113.         <Attribute name="itemlinecolor" default="0x00000000" type="DWORD" comment="item行分割线颜色"/>  
  1114.         <Attribute name="itemshowhtml" default="false" type="BOOL" comment="item是否使用类html富文本绘制,如(false)"/>  
  1115.         <Attribute name="multiexpanding" default="false" type="BOOL" comment="是否支持多个item同时打开,如(false)"/>  
  1116.         <!--TreeView 私有属性-->  
  1117.         <Attribute name="multipleitem" default="true" type="BOOL" comment="是否允许item多选"/>  
  1118.         <Attribute name="itemcheckimgsize" default="0,0" type="SIZE" comment="Item的复选框图片大小,如(2,2)"/>  
  1119.         <Attribute name="itemiconimgsize" default="0,0" type="SIZE" comment="Item的图标大小,如(2,2)"/>  
  1120.   
  1121.         <Attribute name="visiblefolderbtn" default="true" type="BOOL" comment="是否显示展开与收缩按钮对象"/>  
  1122.         <Attribute name="visiblecheckbtn" default="false" type="BOOL" comment="是否显示复选框对象"/>  
  1123.         <Attribute name="itemminwidth" default="0" type="UINT" comment="设置Item的最小宽度,当hscrollbar为真且itemminwidth大于TreeView宽度时才会显示横向滚动条"/>  
  1124.         <Attribute name="itemtextcolor" default="0x00000000" type="DWORD" comment="item文本颜色"/>  
  1125.         <Attribute name="itemhottextcolor" default="0x00000000" type="DWORD" comment="鼠标进入item时文本颜色"/>  
  1126.         <Attribute name="selitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时文本颜色"/>  
  1127.         <Attribute name="selitemhottextcolor" default="0x00000000" type="DWORD" comment="item被选中时且鼠标进入时的文本颜色"/>  
  1128.     </TreeView>  
  1129.     <TreeNode parent="ListContainerElement" notifies="setfocus killfocus timer itemactivate itemclick itemexpanded itemcollapsed windowinit(root)">  
  1130.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  1131.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  1132.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  1133.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  1134.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  1135.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  1136.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  1137.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  1138.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  1139.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  1140.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  1141.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  1142.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  1143.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  1144.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  1145.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  1146.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  1147.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  1148.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  1149.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  1150.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  1151.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true),同时禁用或者启用子控件"/>  
  1152.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  1153.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  1154.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  1155.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  1156.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  1157.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  1158.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  1159.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  1160.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  1161.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  1162.         <Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)"/>  
  1163.         <!--TreeNode 私有属性-->  
  1164.         <Attribute name="horizattr" default="" type="STRING" comment="item虚线、复选框、展开与收缩、文本按钮等对象容器属性设置,格式参考Default元素的属性设置"/>  
  1165.         <Attribute name="dotlineattr" default="" type="STRING" comment="item虚线对象属性设置,格式参考Default元素的属性设置"/>  
  1166.         <Attribute name="folderattr" default="" type="STRING" comment="item展开与收缩按钮对象属性设置,格式参考Default元素的属性设置"/>  
  1167.         <Attribute name="checkboxattr" default="" type="STRING" comment="item复选框对象属性设置,格式参考Default元素的属性设置"/>  
  1168.         <Attribute name="itemattr" default="" type="STRING" comment="item按钮对象属性设置,格式参考Default元素的属性设置"/>  
  1169.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="item文本颜色"/>  
  1170.         <Attribute name="texthotcolor" default="0x00000000" type="DWORD" comment="鼠标进入item时文本颜色"/>  
  1171.         <Attribute name="selitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时文本颜色"/>  
  1172.         <Attribute name="selhotitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时且鼠标进入时的文本颜色"/>  
  1173.         <Attribute name="defaultexpand" default="false" type="BOOL" comment="设置初始状态是否展开"/>  
  1174.     </TreeNode>  
  1175. </Controls>  


UiLib扩展后的属性:

[html]  view plain  copy
  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <?xml-stylesheet type="text/xsl" href="属性列表.xslt"?>  
  3. <!-- 以下仅列出对DuiLib扩展后支持的新特性。可能有错漏,欢迎补充。([email protected]) -->  
  4. <Controls>  
  5.     <Window parent="">  
  6.         <Attribute name="trayiconid" default="" type="UINT" comment="图标资源ID,将显示在托盘"/>  
  7.         <Attribute name="traytiptext" default="" type="STRING" comment="托盘图标在鼠标闲停时提示的文本,备注:有效长度小于64字节"/>  
  8.     </Window>  
  9.     <Include parent="Container" >  
  10.         <Attribute name="xmlfile" default="" type="STRING" comment="外部XML布局文件"/>  
  11.         <Attribute name="count" default="1" type="INT" comment="重复创建xmlfile布局的个数"/>  
  12.     </Include>      
  13.     <!--动作组定义标识-->  
  14.     <ActionScript parent="" />  
  15.     <!--控件属性动作组定义标识-->  
  16.     <AGroup parent="ActionScript" >  
  17.         <Attribute name="name" default="" type="STRING" comment="动作样式组名称"/>  
  18.         <Attribute name="msgtype" default="" type="STRING" comment="动作样式组的触发机制类型 notify 或 event"/>  
  19.         <Attribute name="msgvalue" default="" type="notify=STRING | event=INT" comment="对应触发机制类型 notify 或 event 的值notify则为字符串,event则为整型"/>  
  20.         <Attribute name="defaultinterval" default="" type="INT" comment="缺省触发周期"/>  
  21.         <Attribute name="defaulttimer" default="" type="INT" comment="缺省总周期之和"/>  
  22.         <Attribute name="defaultautostart" default="" type="BOOL" comment="缺省是否自动触发"/>  
  23.         <Attribute name="defaultloop" default="" type="BOOL" comment="缺省周期之和到后是否续集循环触发"/>  
  24.         <Attribute name="defaultreverse" default="" type="BOOL" comment="缺省周期之和到后是否倒序触发"/>  
  25.     </AGroup>  
  26.     <!--控件属性动作定义-->  
  27.     <Property parent="AGroup" >  
  28.         <Attribute name="name" default="" type="STRING" comment="指定需要动画处理的控件属性名称"/>  
  29.         <Attribute name="type" default="" type="STRING" comment="指定过度的属性值类型,支持(int,size,rect,color,image.source,image.corner,image.desc,image.fade,image.mask"/>  
  30.         <Attribute name="startvalue" default="" type="STRING" comment="值的起始值"/>  
  31.         <Attribute name="endvalue" default="" type="STRING" comment="值的终点值"/>  
  32.         <Attribute name="interval" default="" type="" comment="若定义了该值且根AGroup定义的缺省值defaultinterval不同,则独立运作。"/>  
  33.         <Attribute name="timer" default="" type="" comment="若定义了该值且根AGroup定义的缺省值defaulttimer不同,则独立运作。"/>  
  34.         <Attribute name="autostart" default="" type="" comment="若定义了该值且根AGroup定义的缺省值defaultautostart不同,则独立运作。"/>  
  35.         <Attribute name="loop" default="" type="" comment="若定义了该值且根AGroup定义的缺省值defaultloop不同,则独立运作。"/>  
  36.         <Attribute name="reverse" default="" type="" comment="若定义了该值且根AGroup定义的缺省值defaultreverse不同,则独立运作。"/>  
  37.     </Property>  
  38.     <!--控件属性样式组定义标识-->  
  39.     <Styles parent="">  
  40.         <Attribute name="name" default="" type="STRING" comment="样式模版名称"/>  
  41.         <Attribute name="default" default="" type="BOOL" comment="是否作为当前默认模版"/>  
  42.         <Attribute name="inherit" default="" type="STRING" comment="从指定的模版中继承样式"/>  
  43.         <Attribute name="stylefile" default="" type="STRING" comment="从XML模版中继承"/>  
  44.     </Styles>  
  45.     <Style parent="">  
  46.         <Attribute name="stylename" default="" type="STRING" comment="样式名称"/>  
  47.         <!--  
  48.         除stylename属性外可将任意控件属性作为模版属性。  
  49.         若stylename等于XML的节点元控件元素名,则将作为控件的默认样式:如<Style stylename="Button" bkcolor="#ffffffff" />则所有Button控件的默认背景为#ffffffff  
  50.         包括控件的name属性,也可定义到样式中。  
  51.         按控件的具体拥有的属性进行组合。  
  52.         相同属性名,则为最后个生效。  
  53.         -->  
  54.         <Attribute 控件属性名称="控件属性值" default="" type="" comment="定义的控件属性组,控件自身属性将覆盖模版样式属性"/>  
  55.     </Style>  
  56.       
  57.     <EffectsStyles parent="">  
  58.         <Attribute name="stylefile" default="" type="STRING" comment="外部XML文件加载样式定义"/>  
  59.     </EffectsStyles>  
  60.       
  61.     <EffectsStyle parent="">  
  62.         <Attribute name="name" default="" type="STRING" comment="定义动画特效的样式名称"/>  
  63.         <Attribute name="value" default="" type="STRING" comment="定义动画特效的参数"/>  
  64.     </EffectsStyle>  
  65.       
  66.     <Control parent="" notifies="setfocus killfocus timer menu windowinit(root)">  
  67.         <Attribute name="leftbordersize" default="0" type="INT" comment="左边边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  68.         <Attribute name="topbordersize" default="0" type="INT" comment="顶部边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  69.         <Attribute name="rightbordersize" default="0" type="INT" comment="右边边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  70.         <Attribute name="bottombordersize" default="0" type="INT" comment="底部边框大小,如(1),设置该值大于0,则将忽略bordersize属性的设置"/>  
  71.         <Attribute name="borderstyle" default="0" type="INT" comment="边框样式的设置,数值范围0-5"/>  
  72.         <Attribute name="animeffects" default="false" type="BOOL" comment="是否开启动画特效,如(true)"/>  
  73.         <!--EffectsStyle value 属性说明-->  
  74.         <!--zoom 整型:缩放设置 0为不缩放 小于0缩小 大于0放大-->  
  75.         <!--fillingbk 字符串:动画渲染时的背景设置,设置为none或#FFFFFFFF时为保持原背景,否则填充成设置的背景色-->  
  76.         <!--offsetx 整型:动画X坐标偏移量-->  
  77.         <!--offsety 整型:动画Y坐标偏移量-->  
  78.         <!--alpha 整型:动画透明度 -255至255 -->  
  79.         <!--rotation 浮点:动画旋转角度 -->  
  80.         <!--needtimer 整型:动画需要时长,单位毫秒建议大于150毫秒 -->  
  81.         <!--anim 使用简易特效模版,模版特效种类 【zoom+放大】【zoom-缩小】【left2right左到右】【right2left右到左】【top2bottom上到下】【bottom2top下到上】-->  
  82.         <!--offset 整型:简易特效坐标偏移量 -->  
  83.         <!--备注 easyeffects 属性设置会覆盖 adveffects属性的设置 -->  
  84.         <Attribute name="easyeffects" default="" type="STRING" comment="简易的自定义调用的动画特效。(action='' zoom='5' fillingbk='none' offsetx='0' offsety='0' alpha='255' rotation='0.0' needtimer='350' )"/>  
  85.         <Attribute name="adveffects" default="" type="STRING" comment="自定义调用的动画特效。如(zoom='5' fillingbk='none' offsetx='0' offsety='0' alpha='255' rotation='0.0' needtimer='350' )"/>  
  86.         <Attribute name="effectstyle" default="" type="STRING" comment="自定义调用的特效样式名称模。"/>  
  87.         <Attribute name="mouseineffects" default="" type="STRING" comment="鼠标进入控件时的动画特效"/>  
  88.         <Attribute name="mouseouteffects" default="" type="STRING" comment="鼠标离开控件时的动画特效"/>  
  89.         <Attribute name="mouseclickeffects" default="" type="STRING" comment="鼠标点击控件时的动画特效(仅Button控件支持该属性)"/>  
  90.         <Attribute name="mouseinstyle" default="" type="STRING" comment="鼠标进入控件时所调用的的动画特样式"/>  
  91.         <Attribute name="mouseoutstyle" default="" type="STRING" comment="鼠标离开控件时所调用的的动画特样式"/>  
  92.         <Attribute name="mouseclickstyle" default="" type="STRING" comment="鼠标点击控件时所调用的的动画特样式(仅Button控件支持该属性)"/>  
  93.     </Control>  
  94.       
  95.     <Label parent="Control" notifies="setfocus killfocus timer menu windowinit(root)">  
  96.         <!--UiLib 扩展更新的属性-->  
  97.         <Attribute name="enabledeffect" default="false" type="BOOL" comment="是否使用字体特效,使用下面文字特效属性必须该属性设置为true方有效"/>  
  98.         <Attribute name="align" default="left" type="STRING" comment="文字横向对齐方式,取值left、center、right"/>  
  99.         <Attribute name="valign" default="center" type="STRING" comment="文字纵向对齐方式,取值top、center、bottom"/>  
  100.         <Attribute name="rhaa" default="0" type="STRING" comment="字体质量0-5"/>  
  101.           
  102.         <Attribute name="enabledstroke" default="false" type="BOOL" comment="是否使用描边效果"/>  
  103.         <Attribute name="strokecolor" default="0x00000000" type="STRING" comment="字体描边的颜色"/>  
  104.         <Attribute name="transstroke" default="255" type="STRING" comment="字体描边的颜色透明度 0-255"/>  
  105.           
  106.         <Attribute name="enabledshadow" default="false" type="BOOL" comment="是否使用阴影效果"/>  
  107.         <Attribute name="gradientangle" default="0" type="INT" comment="渐变色渲染角度"/>  
  108.         <Attribute name="gradientlength" default="0" type="INT" comment="渐变距离"/>  
  109.         <Attribute name="textcolor1" default="0x00000000" type="STRING" comment="字体渐变色"/>  
  110.         <Attribute name="textshadowcolora" default="0xff000000" type="STRING" comment="字体阴影渐变色"/>  
  111.         <Attribute name="textshadowcolorb" default="0xff000000" type="STRING" comment="字体阴影渐变色"/>  
  112.         <Attribute name="transshadow" default="100" type="INT" comment="阴影透明度"/>  
  113.         <Attribute name="transshadow1" default="100" type="INT" comment="阴影透明度"/>  
  114.         <Attribute name="transtext" default="100" type="INT" comment="字体色彩透明度"/>  
  115.         <Attribute name="transtext1" default="100" type="INT" comment="字体色彩透明度"/>  
  116.     </Label>  
  117.       
  118.     <!--UiLib 扩展事件 OnSelcetDay 日期选择完成时触发该事件-->  
  119.     <Button parent="Label" notifies="OnSelcetDay setfocus killfocus timer menu click windowinit(root)">  
  120.         <!--UiLib 扩展属性-->  
  121.         <Attribute name="hotbkcolor" default="" type="STRING" comment="鼠标悬浮在按钮上时的按钮背景颜色,如(0xFFFF0000)"/>  
  122.         <Attribute name="foreimage" default="" type="STRING" comment="最前端图片"/>  
  123.         <Attribute name="hotforeimage" default="" type="STRING" comment="获得焦点时的最前端状态图片"/>  
  124.         <Attribute name="bindtablayoutname" default="" type="STRING" comment="绑定TabLayout控件"/>  
  125.         <Attribute name="bindtabindex" default="" type="INT" comment="点击后将触发绑定TabLayout控件的对应索引号"/>  
  126.     </Button>  
  127.       
  128.     <Option parent="Button" notifies="setfocus killfocus timer menu click selectchanged windowinit(root)">  
  129.         <!--UiLib 扩展属性-->  
  130.         <Attribute name="hotbkcolor" default="" type="STRING" comment="鼠标悬浮在按钮上时的背景颜色,如(0xFFFF0000)"/>  
  131.         <Attribute name="selectedbkcolor" default="" type="STRING" comment="选中时的背景颜色,如(0xFFFF0000)"/>  
  132.         <Attribute name="selectedhotimage" default="" type="STRING" comment="选中时的鼠标悬浮背景图片"/>  
  133.         <Attribute name="foreimage" default="" type="STRING" comment="最前端图片,通常用在Icon的贴图"/>  
  134.         <Attribute name="hotforeimage" default="" type="STRING" comment="获得焦点时的最前端状态图片"/>  
  135.           
  136.         <Attribute name="bindtablayoutname" default="" type="STRING" comment="绑定TabLayout控件"/>  
  137.         <Attribute name="bindtabindex" default="" type="INT" comment="点击后将触发绑定TabLayout控件的对应索引号"/>  
  138.     </Option>  
  139.       
  140.     <!--UiLib 扩展的UI元素对象-->  
  141.     <CheckBox parent="Option" notifies="setfocus killfocus timer menu click selectchanged windowinit(root)" />  
  142.       
  143.     <!--UiLib 扩展的UI元素对象-->  
  144.     <RadioBox parent="Option" notifies="setfocus killfocus timer menu click selectchanged windowinit(root)" />  
  145.       
  146.     <!--Edit UiLib 扩展事件 OnEditTimer OnEditRegex -->  
  147.     <Edit parent="Label" notifies="setfocus killfocus timer menu return textchanged editTimer editRegex windowinit(root)">  
  148.         <!--UiLib 扩展属性-->  
  149.         <Attribute name="disabledbkcolor" default="0xFFF0F0F0" type="STRING" comment="禁用状态背景色"/>  
  150.         <Attribute name="tipvalue" default="" type="STRING" comment="文本框内提示文字,当文本框text为空时显示并失去焦点时显示"/>  
  151.         <Attribute name="tipvaluecolor" default="0xFFBAC0C5" type="DWORD" comment="文本框内提示文字的颜色"/>  
  152.         <Attribute name="enabletimer" default="false" type="DWORD" comment="当焦点在文本框时是否开启定时器,开启后会定时收到OnEditTimer事件,一般用在自动完成功能上,达到定时取值的效果"/>  
  153.         <Attribute name="timerdelay" default="1000" type="DWORD" comment="enabletimer为true时才属性才有效,设置OnEditTimer事件的触发间隔"/>  
  154.         <Attribute name="regularcheck" default="" type="STRING" comment="正则规则,在Edit失去焦点时进行正则匹配,匹配时并触发OnEditRegex事件,通过该事件wParam取得匹配成功(IDOK)或失败(IDNO)的状态"/>  
  155.         <Attribute name="regulartip" default="" type="STRING" comment="匹配失败时的提示信息,为空时不提示"/>  
  156.     </Edit>  
  157.           
  158.     <List parent="VerticalLayout" notifies="headerwidthchanged setfocus killfocus timer menu itemselect windowinit(root)">  
  159.         <!--UiLib 扩展属性-->  
  160.         <Attribute name="multipleitem" default="true" type="BOOL" comment="是否允许item多选"/>  
  161.         <Attribute name="itemcheckimgsize" default="0,0" type="SIZE" comment="Item的复选框图片大小,如(2,2)"/>  
  162.         <Attribute name="itemiconimgsize" default="0,0" type="SIZE" comment="Item的图标大小,如(2,2)"/>  
  163.     </List>  
  164.       
  165.     <!--ListImageTextElement UiLib 扩展元素 -->  
  166.     <ListImageTextElement parent="ListLabelElement" notifies="setfocus killfocus timer itemactivate itemclick link windowinit(root)">  
  167.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  168.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  169.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  170.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  171.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  172.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  173.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  174.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  175.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  176.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  177.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  178.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  179.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  180.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  181.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  182.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  183.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  184.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  185.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  186.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  187.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  188.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  189.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  190.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  191.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  192.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  193.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  194.         <Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)" />  
  195.     </ListImageTextElement>  
  196.       
  197.     <RichEdit parent="Container" notifies="setfocus killfocus timer menu return windowinit(root)">  
  198.         <!--UiLib 扩展属性-->  
  199.         <Attribute name="disabledbkcolor" default="0xFFF0F0F0" type="STRING" comment="禁用状态背景色"/>  
  200.     </RichEdit>  
  201.       
  202.     <!--UiLib 扩展的UI元素对象-->  
  203.     <TreeView parent="List" notifies="selectchanged setfocus killfocus timer menu itemselect windowinit(root)">  
  204.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  205.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  206.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  207.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  208.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  209.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  210.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  211.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  212.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  213.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  214.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  215.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  216.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  217.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  218.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  219.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  220.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  221.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  222.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  223.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  224.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  225.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  226.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  227.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  228.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  229.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  230.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  231.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  232.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  233.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  234.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  235.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  236.         <Attribute name="sepheight" default="0" type="INT" comment="分隔符高度,正负表示分隔符在顶部还是底部,如(4)"/>  
  237.         <Attribute name="sepimm" default="false" type="BOOL" comment="拖动分隔符是否立即改变大小,如(false)"/>  
  238.         <Attribute name="header" default="true" type="BOOL" comment="是否显示表头,如(true)"/>  
  239.         <Attribute name="headerbkimage" default="" type="STRING" comment="表头背景图片"/>  
  240.         <Attribute name="scrollselect" default="false" type="BOOL" comment="是否随滚动改变选中项,如(false)"/>  
  241.         <Attribute name="itemfont" default="-1" type="INT" comment="item的字体id,如(0)"/>  
  242.         <Attribute name="itemalign" default="center" type="STRING" comment="item对齐方式,取值left、right、center,如(center)"/>  
  243.         <Attribute name="itemendellipsis" default="false" type="BOOL" comment="item句末显示不全是否使用...代替,如(true)"/>  
  244.         <Attribute name="itemtextpadding" default="0,0,0,0" type="RECT" comment="item文字显示的边距,如(2,2,2,2)"/>  
  245.         <Attribute name="itemtextcolor" default="0xFF000000" type="DWORD" comment="item字体颜色"/>  
  246.         <Attribute name="itembkcolor" default="0x00000000" type="DWORD" comment="item背景颜色"/>  
  247.         <Attribute name="itembkimage" default="" type="STRING" comment="item背景图片"/>  
  248.         <Attribute name="itemaltbk" default="false" type="BOOL" comment="item是否使用隔行交替背景"/>  
  249.         <Attribute name="itemselectedtextcolor" default="0xFF000000" type="DWORD" comment="item被选中时的字体颜色"/>  
  250.         <Attribute name="itemselectedbkcolor" default="0xFFC1E3FF" type="DWORD" comment="item被选中时的背景颜色"/>  
  251.         <Attribute name="itemselectedimage" default="" type="STRING" comment="item被选中时的背景图片"/>  
  252.         <Attribute name="itemhottextcolor" default="0xFF000000" type="DWORD" comment="item鼠标悬浮时的字体颜色"/>  
  253.         <Attribute name="itemhotbkcolor" default="0xFFE9F5FF" type="DWORD" comment="item鼠标悬浮时的背景颜色"/>  
  254.         <Attribute name="itemhotimage" default="" type="STRING" comment="item鼠标悬浮时的背景图片"/>  
  255.         <Attribute name="itemdisabledtextcolor" default="0xFFCCCCCC" type="DWORD" comment="item禁用时的字体颜色"/>  
  256.         <Attribute name="itemdisabledbkcolor" default="0xFFFFFFFF" type="DWORD" comment="item禁用时的背景颜色"/>  
  257.         <Attribute name="itemdisabledimage" default="" type="STRING" comment="item禁用时的背景图片"/>  
  258.         <Attribute name="itemlinecolor" default="0x00000000" type="DWORD" comment="item行分割线颜色"/>  
  259.         <Attribute name="itemshowhtml" default="false" type="BOOL" comment="item是否使用类html富文本绘制,如(false)"/>  
  260.         <Attribute name="multiexpanding" default="false" type="BOOL" comment="是否支持多个item同时打开,如(false)"/>  
  261.           
  262.         <!--TreeView 独有的属性-->  
  263.         <Attribute name="multipleitem" default="true" type="BOOL" comment="是否允许item多选"/>  
  264.         <Attribute name="itemcheckimgsize" default="0,0" type="SIZE" comment="Item的复选框图片大小,如(2,2)"/>  
  265.         <Attribute name="itemiconimgsize" default="0,0" type="SIZE" comment="Item的图标大小,如(2,2)"/>  
  266.   
  267.         <Attribute name="visiblefolderbtn" default="true" type="BOOL" comment="是否显示展开与收缩按钮对象"/>  
  268.         <Attribute name="visiblecheckbtn" default="false" type="BOOL" comment="是否显示复选框对象"/>  
  269.         <Attribute name="itemminwidth" default="0" type="UINT" comment="设置Item的最小宽度,当hscrollbar为真且itemminwidth大于TreeView宽度时才会显示横向滚动条"/>  
  270.         <Attribute name="itemtextcolor" default="0x00000000" type="DWORD" comment="item文本颜色"/>  
  271.         <Attribute name="itemhottextcolor" default="0x00000000" type="DWORD" comment="鼠标进入item时文本颜色"/>  
  272.         <Attribute name="selitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时文本颜色"/>  
  273.         <Attribute name="selitemhottextcolor" default="0x00000000" type="DWORD" comment="item被选中时且鼠标进入时的文本颜色"/>  
  274.     </TreeView>  
  275.       
  276.     <!--UiLib 扩展的UI元素对象-->  
  277.     <TreeNode parent="ListContainerElement" notifies="setfocus killfocus timer itemactivate itemclick itemexpanded itemcollapsed windowinit(root)">  
  278.         <Attribute name="name" default="" type="STRING" comment="控件名字,同一窗口内必须唯一,如(testbtn)"/>  
  279.         <Attribute name="pos" default="0,0,0,0" type="RECT" comment="位置,如果为float控件则指定位置和大小,否则只指定大小,如(0,0,100,100)"/>  
  280.         <Attribute name="padding" default="0,0,0,0" type="RECT" comment="外边距,如(2,2,2,2)"/>  
  281.         <Attribute name="bkcolor" default="0x00000000" type="DWORD" comment="背景颜色,如(0xFFFF0000)"/>  
  282.         <Attribute name="bkcolor2" default="0x00000000" type="DWORD" comment="背景渐变色2,和bkcolor配合使用,如(0xFFFFFF00)"/>  
  283.         <Attribute name="bkcolor3" default="0x00000000" type="DWORD" comment="背景渐变色3,和bkcolor、bkcolor2配合使用,如(0xFFFF00FF)"/>  
  284.         <Attribute name="bordercolor" default="0x00000000" type="DWORD" comment="边框颜色,如(0xFF000000)"/>  
  285.         <Attribute name="focusbordercolor" default="0x00000000" type="DWORD" comment="获得焦点时边框的颜色,如(0xFFFF0000)"/>  
  286.         <Attribute name="colorhsl" default="false" type="BOOL" comment="本控件的颜色是否随窗口的hsl变化而变化,如(false)"/>  
  287.         <Attribute name="bordersize" default="1" type="INT" comment="边框大小,如(1)"/>  
  288.         <Attribute name="borderround" default="0,0" type="SIZE" comment="边框圆角半径,如(2,2)"/>  
  289.         <Attribute name="bkimage" default="" type="STRING" comment="背景图片,如(bk.bmp或file='aaa.jpg' res='' restype='0' dest='0,0,0,0' source='0,0,0,0' corner='0,0,0,0' mask='#FF0000' fade='255' hole='false' xtiled='false' ytiled='false')"/>  
  290.         <Attribute name="width" default="0" type="INT" comment="控件预设的宽度,如(100)"/>  
  291.         <Attribute name="height" default="0" type="INT" comment="控件预设的高度,如(30)"/>  
  292.         <Attribute name="minwidth" default="0" type="INT" comment="控件的最小宽度,如(100)"/>  
  293.         <Attribute name="minheight" default="0" type="INT" comment="控件的最小高度,如(30)"/>  
  294.         <Attribute name="maxwidth" default="9999" type="INT" comment="控件的最大宽度,如(100)"/>  
  295.         <Attribute name="maxheight" default="9999" type="INT" comment="控件的最大高度,如(30)"/>  
  296.         <Attribute name="text" default="" type="STRING" comment="显示文本,如(测试文本)"/>  
  297.         <Attribute name="tooltip" default="" type="STRING" comment="鼠标悬浮提示,如(请在这里输入你的密码)"/>  
  298.         <Attribute name="userdata" default="" type="STRING" comment="自定义标识"/>  
  299.         <Attribute name="enabled" default="true" type="BOOL" comment="是否可以响应用户操作,如(true)"/>  
  300.         <Attribute name="mouse" default="true" type="BOOL" comment="本控件是否可以响应鼠标操作,如(true)"/>  
  301.         <Attribute name="mousechild" default="true" type="BOOL" comment="本控件的子控件是否可以响应用户操作,如(true)"/>  
  302.         <Attribute name="visible" default="true" type="BOOL" comment="是否可见,如(true)"/>  
  303.         <Attribute name="float" default="false" type="BOOL" comment="是否使用绝对定位,如(true)"/>  
  304.         <Attribute name="shortcut" default="" type="CHAR" comment="对应的快捷键,如(P)"/>  
  305.         <Attribute name="menu" default="false" type="BOOL" comment="是否需要右键菜单,如(true)"/>  
  306.         <Attribute name="inset" default="0,0,0,0" type="RECT" comment="容器的内边距,如(2,2,2,2)"/>  
  307.         <Attribute name="vscrollbar" default="false" type="BOOL" comment="是否使用竖向滚动条,如(true)"/>  
  308.         <Attribute name="hscrollbar" default="false" type="BOOL" comment="是否使用横向滚动条,如(true)"/>  
  309.         <Attribute name="childpadding" default="0" type="INT" comment="子控件之间的额外距离,如(4)"/>  
  310.         <Attribute name="selected" default="false" type="BOOL" comment="是否选中,如(true)"/>  
  311.           
  312.         <!--TreeNode 独有的属性-->  
  313.         <Attribute name="horizattr" default="" type="STRING" comment="item虚线、复选框、展开与收缩、文本按钮等对象容器属性设置,格式参考Default元素的属性设置"/>  
  314.         <Attribute name="dotlineattr" default="" type="STRING" comment="item虚线对象属性设置,格式参考Default元素的属性设置"/>  
  315.         <Attribute name="folderattr" default="" type="STRING" comment="item展开与收缩按钮对象属性设置,格式参考Default元素的属性设置"/>  
  316.         <Attribute name="checkboxattr" default="" type="STRING" comment="item复选框对象属性设置,格式参考Default元素的属性设置"/>  
  317.         <Attribute name="itemattr" default="" type="STRING" comment="item按钮对象属性设置,格式参考Default元素的属性设置"/>  
  318.         <Attribute name="textcolor" default="0x00000000" type="DWORD" comment="item文本颜色"/>  
  319.         <Attribute name="texthotcolor" default="0x00000000" type="DWORD" comment="鼠标进入item时文本颜色"/>  
  320.         <Attribute name="selitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时文本颜色"/>  
  321.         <Attribute name="selhotitemtextcolor" default="0x00000000" type="DWORD" comment="item被选中时且鼠标进入时的文本颜色"/>  
  322.     </TreeNode>  
  323. </Controls>  

猜你喜欢

转载自blog.csdn.net/u011269801/article/details/79887216