flex - 在项目列表上执行复制时更改默认光标

发布于 2024-11-26 01:20:08 字数 191 浏览 1 评论 0原文

我正在尝试更改列表拖放的默认鼠标光标。 我试图使用 DragMananger 和 event.preventDefault() 来获取 COPY 光标 - 但得到了一个非常奇怪的光标行为(项目的放置指示器错误地呈现 - 等)因此我试图坚持默认 - 这工作正常 -但我现在在副本上的光标是一个简单的箭头,我想得到带有笑容的箭头。我如何更改默认值?

谢谢!

I am trying to change the default mouse cursor for a list drag and drop.
I was trying to get the COPY cursor using DragMananger and event.preventDefault()- but got a very weird cursor behavior (the items' drop indicator was wrongly presented - etc.) Therefor i am trying to stick to default - this works fine - but my cursor now on copy is a simple arrow, and i would like to get the arrow with the grin plus on it. How can i change the default?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

旧情别恋 2024-12-03 01:20:08

有很多关于通过 Flex 创建和使用自定义光标的文档。 这是我自己的博客发布关于该主题的播客

如果您执行 Google 搜索,会出现更多信息。

如果您需要更改dragImage,可以通过在DragManager.doDrag 事件。 Google 还提供了很多关于 更改dragImage

There is lots of documentation on creating and using custom cursors with Flex. Here is my own blog post and podcast on the topic.

If you perform a Google Search, lots more info comes up.

If you need to change the dragImage, you can do so by setting the dragImage property on the DragManager.doDrag event. Google also provides a lot of info on changing the dragImage.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文