If you're using timers to track events and to make sure messages arrive in a timely manner, it's important to cancel these timers when a message is received.
如果您使用计时器跟踪事件,以确保消息及时到达,重要的是要在收到消息后取消这些计时器。
Lastly, a timer can be canceled by sending a control message with the "cancel" action.
最后,可以通过发送具有“CANCEL”操作的控制消息来取消计时器。
A message can be displayed to the user if the required fields aren't populated and false can be returned to cancel the update to the panel.
如果未填充必要的字段,则可以向用户显示一条消息,并返回False取消对面板的更新。
应用推荐