Links
EControl Syntax Editor SDK
TecBaseAction Class

TecBaseAction is the base class for actions meant to be used with menu items and controls.

TecBaseAction = class(TCustomAction);

ecActns

TecBaseAction introduces support for the properties and methods of menu items and controls that are linked to action objects. TecBaseAction is used as a base class for deriving all the actions that publish specific properties of associated controls of the library. 

Action objects centralize the response to user commands (actions) and represent user interface elements in applications that use action bars. They provide an easy way to synchronize, for example, the enabled state and caption of a speed button and a menu item, and handle the response when users click on these components. Each such component, called the client, has its properties dynamically updated by the action and forwards user actions to the action for a response. 

You can work with actions at design-time in the action list editor of an action list or the customize dialog of an action manager. The action list or action manager is a container for actions, which it organizes into categories.

Topic 
Description 
The methods of the TecBaseAction class are listed here. 
The properties of the TecBaseAction class are listed here. 
The events of the TecBaseAction class are listed here. 
 
Method 
 
protected 
 
virtual 
 
Property 
 
Event 
TecBaseAction Events 
Description 
Occurs after action is executed. 
Occurs before action is executed. 
Occurs after action was executed. 
TecBaseAction Methods 
Description 
Sequentially calls BeforeExecute event, DoExecute method and AfterExecute event. 
Creates and initializes a TecBaseAction instance. 
Destroys an instance of TecBaseAction. 
Executes the action. 
TecBaseAction Properties 
Description 
Represents the caption of client controls and menu items. 
Indicates the help context ID for client controls and menu items. 
Indicates the help keyword for client controls and menu items. 
Indicates the mechanism for client controls and menu items to use when invoking help. 
Hint 
Indicates the Help hint for client controls and menu items. 
Indicates the ImageIndex property for client controls and menu items. 
Specifies target component. 
Occurs when the mouse pauses over a client control or menu item. 
Specifies the short cuts (in addition to ShortCut) for triggering clients. 
Specifies the ShortCut property for client menu items. 
Specifies the Visible property for client controls and menu items. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!