如何在smalltalk中重绘列表
我的 Smalltalk 应用程序中有一个列表,该列表由用户事件更新。该列表正确更新,但它只会在窗口强制重绘时重绘、重绘或刷新。因此,它会按预期显示,但仅当我隐藏然后重新显示窗口,或者将其拖出屏幕然后重新打开时。
如何使应用程序窗口在列表更新时自动重绘?
I have a List in my smalltalk application that gets updated by user events. The list updates correctly, but it only redraws, repaints, or refreshes whenever the window is forced to redraw. So it'll appear as it is supposed to, but only when I hide and then reshow the window, or drag it off screen and then bring it back on.
How do I make the App window automatically redraw, whenever the list is updated?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我通过包括以下内容来实现此目的:
在正在更改的对象的方法中。
I got this working by including:
In the method of the objects being changed.