共用方式為


EditorControl.FQueryTerminate(Int32) Method

Definition

Called when the component manager wishes to know whether the component is in a state in which it can terminate.

public:
 override int FQueryTerminate(int fPromptUser);
public:
 override int FQueryTerminate(int fPromptUser);
 override int FQueryTerminate(int fPromptUser);
public override int FQueryTerminate (int fPromptUser);
override this.FQueryTerminate : int -> int
Public Overrides Function FQueryTerminate (fPromptUser As Integer) As Integer

Parameters

fPromptUser
Int32

true if the component should prompt the user if it needs to terminate, false if it should not prompt the user.

Returns

true if the component can terminate, otherwise false.

Remarks

By default this method is not implemented and returns true.

Applies to