我有一个包含一些操作的表单。 我需要在调用注销过程时禁用所有操作。 我该怎么办?
最佳答案
如果“操作”是指您使用 ActionList,则将其 State
设置为 asSuspended
。每documentation然后:
The actions in the action list do not respond when client objects tell them to "fire". The Enabled property for all actions in the list is unchanged
关于windows - 如何禁用delphi形式的所有操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38692571/