Flex 为Label设置用户光标useHandCursor

来源:互联网 发布:ps软件破解版 编辑:程序博客网 时间:2024/06/02 20:56
为了让Label显示手型光标,通过设置userHandCursor属性。
<s:Label id="closeBtn" text="关闭" styleName="btnLbl"  useHandCursor="true" buttonMode="true"  mouseChildren="false"  click="onCloseBtn_clickHandler(event)"/>



但是有时候,在某些控件上会不管用,所以需要再设置以下几个属性:

buttonMode="true"  mouseChildren="false"
原创粉丝点击