Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请让我知道如何在 flex 中显示警报消息时避免禁用背景。我希望在显示警报框时能够输入,即单击或击键?是否可以?如何?提前致谢
调用 Alert.show 时,将 NONMODAL 标志添加到 flags 参数。所以是这样的:
Alert.show('Alert Text', 'Alert Title', Alert.YES|Alert.NO|Alert.NONMODAL);
奇怪,但它应该工作。
来源