extern DELPHI_PACKAGE bool vDesignAction;
vDesignAction is used to inform that an action is being created at design time in the IDE.
The vDesignAction variable is used in the CreateAction function. CreateAction sets vDesignAction to
True during its execution of the function stored in the CreateActionProc global procedural variable.
A call to CreateActionProc creates an action. CreateAction is called automatically when you define an action at design time in the IDE, therefore, you can test the
True value of vDesignAction to check whether the action is being created at design time in the IDE.