windows - 如何禁用delphi形式的所有操作

标签 windows delphi

我有一个包含一些操作的表单。 我需要在调用注销过程时禁用所有操作。 我该怎么办?

最佳答案

如果“操作”是指您使用 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/

相关文章:

windows - 注定的技术?

c# - 以编程方式创建和启动 RDP session (无 gui)

c++ - vc++2008 安装程序项目 msvcrt.dll

windows - Azure VM 与 Docker 无法连接

delphi - Adoconnection 在打开 Delphi 时要求输入用户名和密码

c++ - 在 Windows 操作系统中隐藏 C 程序的控制台

html - MSHTML 解析 ARTICLE 标签无效

.net - 在 delphi 中使用 COM DLL - MSVCR80D.dll 错误中的访问冲突

delphi - 将字符串从某些代码页转换为Unicode

delphi - 使用带有用于 firebird 的anydac(现在是firedac)脚本的参数时出现错误