Sign in Join
FPDoc Onlineexperiment

TFileOpen class

In unit StdActns

TFileOpen - standard action (including opening a dialog) associated with the File Open menu option.

Declaration

pascal
TFileOpen = class(TFileAction)

Inheritance

  1. TFileOpen
  2. TFileAction
  3. TCommonDialogAction
  4. TCustomAction
  5. TContainedAction
  6. TBasicAction
  7. TComponent
  8. TPersistent
  9. TObject

Descends from it: TFileOpenWith

Description

Nothing more than the line above yet.

See also

Properties

CaptionpublishedThe Caption to be used if this action is associated with a visible component.
DialogpublishedThe Open Dialog to be used with this action.
EnabledpublishedEnabled - whether this action is able to be used (default is True).
HelpContextpublishedHelpContext - the index for a context-based help message.
HelpKeywordpublishedHelpKeyWord - the keyword of a context-based help message.
HelpTypepublishedHelpType - the sort of help message to be offered: default Context-based.
HintpublishedHint - a pop-up message that appears when the mouse hovers over an object.
ImageIndexpublishedImageIndex - the index number of the image to be associated with this action.
ShortCutpublishedShortCut- an index to a shortcut list.
SecondaryShortCutspublishedSecondaryShortCuts - a stringlist containing shortcuts.
UseDefaultApppublishedIndicates if the default application should be used to open the file for the action.
VisiblepublishedVisible - is this action visible? (default True).
BeforeExecutepublishedBeforeExecute - event handler for performance before execution of the action.

Methods

GetDialogClassprotectedGets the class reference used to create the Dialog for the action.

Events

OnAcceptpublishedOnAccept - event handler for a press of the Accept button.
OnCancelpublishedOnCancel - event handler for a press of the Cancel button.
OnHintpublishedOnHint - action to be taken when a hint is required.

Inherited

From TFileAction (2)

FileName GetDialog

From TCommonDialogAction (9)

Create CreateDialog DoAccept DoBeforeExecute DoCancel ExecuteResult ExecuteTarget Handlestarget OnUpdate

From TCustomAction (24)

AssignTo AutoCheck Checked Destroy DisableIfNoHandler DoHint Execute Grayed GroupIndex 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 (13)

ActionComponent Change ClientCount Clients GetClient Notification OnChange OnExecute 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.