TFileSaveAs class
TFileSaveAs - standard action (including opening a dialog)
associated with the
File Save As menu option.Declaration
TFileSaveAs = class(TFileAction)Inheritance
- TFileSaveAs
- TFileAction
- TCommonDialogAction
- TCustomAction
- TContainedAction
- TBasicAction
- TComponent
- TPersistent
- TObject
Description
TFileSaveAs is a standard action (including opening a
dialog) associated with the
File Save As menu option.
Gives the user an opportunity to select or enter a name to use for
saving the file.
See also
Properties
Caption | published | The Caption to be used if this action is associated with a visible component. |
Dialog | published | The Save Dialog to be used with this action. |
Enabled | published | Enabled - whether this action is able to be used (default is True). |
HelpContext | published | HelpContext - the index for a context-based help message. |
Hint | published | Hint - a pop-up message that appears when the mouse hovers over an object. |
ImageIndex | published | ImageIndex - the index number of the image to be associated with this action. |
ShortCut | published | ShortCut- an index to a shortcut list. |
SecondaryShortCuts | published | SecondaryShortCuts - a stringlist containing shortcuts. |
Visible | published | Visible - is this action visible? (default True). |
BeforeExecute | published | BeforeExecute - event handler for performance before execution of the action. |
Methods
GetDialogClass | protected | Returns the class type for the dialog associated with this action. |
Events
OnAccept | published | OnAccept - event handler for a press of the Accept button. |
OnCancel | published | OnCancel - event handler for a press of the Cancel button. |
OnHint | published | OnHint - action to be taken when a hint is required. |
Inherited
From TCommonDialogAction (9)
Create CreateDialog DoAccept DoBeforeExecute DoCancel ExecuteResult ExecuteTarget Handlestarget OnUpdate
From TCustomAction (26)
AssignTo AutoCheck Checked Destroy DisableIfNoHandler DoHint Execute Grayed GroupIndex HandleShortCut HelpKeyword HelpType 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.
