System.Actions.vDesignAction

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

vDesignAction: boolean;

C++

extern DELPHI_PACKAGE bool vDesignAction;

Properties

Type Visibility Source Unit Parent
variable public
System.Actions.pas
System.Actions.hpp
System.Actions System.Actions

Description

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.

See Also