DataWindow.QueryClose Method | |
Provide a method that is invoked just before the data window closes to confirm if the application really wants to close the window.
Namespace:
VO
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD QueryClose(
oQCE
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public override Usual QueryClose(
Usual oQCE = default
)
Request Example
View SourceParameters
- oQCE (Optional)
- Type: Usual
The Event object that describes which data window is about to be closed.
Return Value
Type:
Usual
TRUE if the data window is to be closed; otherwise, FALSE.
Remarks Tip |
---|
Important! This is a callback method used by X#.
Normally, it should not be called in your application code.
|
Tip |
---|
If you reimplement this method in your subclass, it is recommended that you first call SUPER:QueryClose() within the method to obtain its default behavior. |
When a user tries to close an application by selecting the Close menu command from a system menu (or by using another method to end the session), the system calls each data window's QueryClose() event handler.
See Also