有时候需要强制某个控件,比如标签(Label)强制显示手型光标(hand cursor),一般情况下可以使用useHandCursor = true来控制。
<mx:Label useHandCursor="true" />
但是有时候,在某些控件上会不管用,这时可以再设置以下几个属性:
<mx:Label useHandCursor="true" buttonMode="true" mouseChildren="false" />
本文介绍了一种在特定控件如标签(Label)上强制显示手型光标的方法。通常可以通过设置useHandCursor属性为true实现。但在一些场景下可能需要额外配置buttonMode和mouseChildren属性。
有时候需要强制某个控件,比如标签(Label)强制显示手型光标(hand cursor),一般情况下可以使用useHandCursor = true来控制。
<mx:Label useHandCursor="true" />
<mx:Label useHandCursor="true" buttonMode="true" mouseChildren="false" />
489

被折叠的 条评论
为什么被折叠?