IDialogCallbackParams¶
- class IDialogCallbackParams¶
Bases:
ImpactCOMWrapperBase- Description:
Represents the parameters passed to a callback method of an IDialog.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property button_type¶
Gets button_type.
- Description:
Gets the type of button that caused the callback.
- Remarks:
If the callback was caused by a field this value will be equal to the enumeration constant dbtUnknown.
- Returns:
The value of button_type.
- Return type:
- property can_close¶
Gets can_close.
- Description:
Gets and sets if the dialog can close when the Reason property is dcrDialogClosing.
- Returns:
The value of can_close.
- Return type:
can_close (bool)
- property field¶
Gets Field.
- Description:
Gets the field (if any) that caused the callback.
- Remarks:
If the callback was caused by a button click or the dialog closing this property will return null.
- Returns:
The value of Field.
- Return type:
- property reason¶
Gets Reason.
- Description:
Gets the reason for the callback.
- Returns:
The value of Reason.
- Return type:
- isNone()¶
Checks if the COM object is None. This is useful for determining if the wrapper has been initialized with a valid COM object.
Examples