Gets an event that is fired to allow you to check if the current state of the inputs are valid for execution.
-------- Import ---------
-------- Global variables ---------
-------- Connect the handler to the event. ---------
-------- Event handler function definition ---------
|
-------- Global variables ---------
-------- Connect the handler to the event. ---------
-------- Event handler class definition ---------
|
--------- Required include files. ---------
--------- Event handler class definition and global declaration. ---------
class MyValidateInputsEventHandler : public adsk::core::ValidateInputsEventHandler { public: void notify(const Ptr<ValidateInputsEventArgs>& eventArgs) override { // Code to react to the event. ui->messageBox("In MyValidateInputsEventHandler event handler."); } } _validateInputs; --------- Connect the handler to the event. ---------
|
Type | Description |
ValidateInputsEvent | Returns a ValidateInputsEvent object that is used to connect and release from the event. |