DataWindow.QueryClose Method (Typed) | |
Provide a method that is invoked just before the data window closes to confirm if the application really wants to close the window.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD QueryClose(
oQCE AS Event
) AS LOGIC
public override bool QueryClose(
Event oQCE
)
Request Example
View SourceParameters
- oQCE
- Type: Event
The Event object that describes which data window is about to be closed.
Return Value
Type:
Logic
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