ArcGISViewer 中弹出框上的删除与缩小按钮如何去掉,记下来

来源:互联网 发布:奥登大学数据 编辑:程序博客网 时间:2024/06/05 18:55

去掉删除按钮变成


要如何做呢:把删除和缩小按钮的属性改为false就可以了。

<viewer:WidgetTemplate  width="300" height="200" enableCloseButton="false" enableMinimizeButton="false">
<!--<manager:popup id="popup"/>-->
<s:Group>
<mx:Label y="20.5"
 text="方案名称:"
 width="69"
 height="24"
 id="username0"
 enabled="true"
 fontSize="12"
 color="#004A7B"
 fontWeight="normal"
 x="13"/>
<mx:TextInput x="79"
 y="20.5"
 id="protext"
 color="#004A7B"
 fontSize="12"
 width="160"
 height="22"/>
<mx:Button id="qdbutton"
  styleName="button1"
  fontWeight="normal"
  x="78.5"
  y="59"
  label="确 定"
  fontSize="12"
  click="proToDB(event)"
  />
<mx:Button id="qxbutton"
  styleName="button1"
  fontWeight="normal"
  x="177"
  y="59"
  click="close(event)"
  label="取 消"
  fontSize="12"/>
</s:Group>
</viewer:WidgetTemplate>

0 0
原创粉丝点击