您仍可以使用控件验证将焦点锁定到控件,但不必考虑关闭窗体的行为。
You can still use control validation to lock focus to a control, but you do not need to be concerned with the behavior with regard to closing the form.
为了方便程序使用者快速跳过启动封面直接进入程序主窗体,我们还要设置一个click事件来关闭窗体A并调用主窗体b。
In order to facilitate procedures for users to skip commencement cover fast direct access to the main program window, we need to set up a click to the incident closed Form a and Form B main Call.
墙壁显示还可以提供所显示图像的字幕和Swing组件,以显示关闭字幕的窗体(例如,显示任何播放的语音输出)。
The wall display can also provide captions for display-over images and Swing components, allowing for a form of closed captioning (for example, to display any spoken speech output).
因为就在显示该窗体之前激活了TClientDataSet(关闭该窗体之时再取消激活状态),所以该图将显示带有数据的新窗体。
This will present the new form with data, since the TClientDataSet is activated just before the form is shown (and deactivated when the form is closed again).
当为窗体输入未经处理的Enter键时,默认按钮收到通知,就好像要关闭一个对话框一样。
Default buttons are notified when an unprocessed enter key is entered for a form, just like a dialog box would be closed.
在主窗体关闭之后关闭。
说明:本示例程序演示了如何在子窗体中禁止切换组合键和关闭组合键功能。
This sample program demonstrates how to disable the subform combination of keys on and off switching function key combinations.
当一个窗体归另一窗体所有时,它便随着所有者窗体最小化和关闭。
When a form is owned by another form, it is minimized and closed with the owner form.
如果豁免失败,那么我希望它取消窗体关闭事件。
If the save fails, then I want it to cancel the form closing event.
要查看窗体,请将它关闭并重新打开。
“无模式”窗体让您在此窗体与另一窗体之间变换焦点,而不必关闭初始窗体。
Modeless forms let you shift the focus between the form and another form without having to close the initial form.
该程序必须隐藏或关闭有模式窗体(通常是响应某个用户操作),然后才能对另一窗体进行输入。
The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.
该程序必须隐藏或关闭有模式窗体(通常是响应某个用户操作),然后才能对另一窗体进行输入。
The program must hide or close a modal form (typically in response to some user action) before input to another form can occur.
应用推荐