Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TImage 的 BeginDrag(bool)方法没有 #206

Closed
lnxyz opened this issue Jul 6, 2024 · 2 comments
Closed

TImage 的 BeginDrag(bool)方法没有 #206

lnxyz opened this issue Jul 6, 2024 · 2 comments

Comments

@lnxyz
Copy link

lnxyz commented Jul 6, 2024

TImage 的 BeginDrag(bool) 方法没有, 有没有其它替代的?

@ying32
Copy link
Owner

ying32 commented Jul 8, 2024

确实没有封装相关方法,不知道你需要实现一个什么样的功能?
如果只是想用鼠标移动TImage,可以参考imageviewer这个例子。

@lnxyz
Copy link
Author

lnxyz commented Jul 8, 2024

确实没有封装相关方法,不知道你需要实现一个什么样的功能? 如果只是想用鼠标移动TImage,可以参考imageviewer这个例子。

只是想 将 论坛 这个 图片间拖拉 交换位置功能 复现 : https://forum.lazarus.freepascal.org/index.php?topic=32500.0 但我发现 完全不用这个 beginDrag 也行。对,你示例这个也很好。所以这个问题可以关掉了。

@lnxyz lnxyz closed this as completed Jul 8, 2024
ying32 added a commit that referenced this issue Dec 19, 2024
2. Add some events and methods of controls (#206).
3. Delete an example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants