Sign in Join
FPDoc Onlineexperiment

TEditAction class

In unit StdActns

The base class for standard editing actions applied to an edit control.

Declaration

pascal
TEditAction = class(TAction)

Inheritance

  1. TEditAction
  2. TAction
  3. TCustomAction
  4. TContainedAction
  5. TBasicAction
  6. TComponent
  7. TPersistent
  8. TObject

Descends from it: TEditCopy TEditCut TEditDelete TEditPaste TEditSelectAll TEditUndo

Description

TEditAction is a TAction descendant which defines the base class for standard editing actions applied to an edit control. It provides a Control property with the TCustomEdit control where the action is applied. It provides an overridden HandlesTarget method to determine if the action can be applied to a specified control.

Do not create instances of TEditAction. Use one of the descendent classes that implement UpdateTarget and ExecuteTarget methods, like:

  • TEditCut
  • TEditCopy
  • TEditPaste
  • TEditUndo
  • TEditSelectAll
  • TEditDelete

See also

Properties

ControlpublicThe edit control associated with this action.

Methods

NotificationprotectedHandles the notification performed when a component is added to or removed from the class instance.
DestroypublicDestructor for the class instance.
HandlesTargetpublicIndicates if the editing action can be used for the specified target control.

Inherited

From TAction (18)

AutoCheck Caption Checked Create DisableIfNoHandler Enabled GroupIndex HelpContext HelpKeyword HelpType Hint ImageIndex OnExecute OnHint OnUpdate SecondaryShortCuts ShortCut Visible

From TCustomAction (19)

AssignTo DoHint Execute Grayed HandleShortCut SavedEnabledState SetAutoCheck SetCaption SetChecked SetEnabled SetGroupIndex SetHelpContext SetHelpKeyword SetHelpType SetHint SetImageIndex SetName SetShortCut SetVisible

From TContainedAction (8)

ActionList Category GetParentComponent HasParent Index ReadState SetParentComponent Update

From TBasicAction (12)

ActionComponent Change ClientCount Clients ExecuteTarget GetClient OnChange RegisterChanges SetOnExecute Suspended UnRegisterChanges UpdateTarget

From TComponent (68)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetTypeInfo GetTypeInfoCount iicrGetComponent InsertComponent Invoke IsImplementorOf Loaded Loading Name ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (4)

Assign FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.