Attr.xml 117 KB

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