TMainForm Class

Definition

Delphi
type TMainForm = class(T__MainFormAncestor)
Inheritance

Constructors

Create(TComponent)

Class constructor

(Inherited from T__MainFormAncestor)

Properties

CurrentDocument

Current opened document

(Inherited from T__MainFormAncestor)
OnAboutBoxTranslateTexts

Use it if you want to override about box texts translation or add your languages.

(Inherited from T__MainFormAncestor)
onGetLanguageName

Called in the Tools/Languages dialog to get the language name for an ISO code.

(Inherited from T__MainFormAncestor)

Methods

AfterConstruction

Execute some code after the form instance construction

(Inherited from T__MainFormAncestor)
DoAboutAction(TObject)

Called by the actAbout action used for Help/About menu option.

(Inherited from T__MainFormAncestor)
DoAboutBoxTranslateTexts(string, TOlfAboutDialogTxtID)

Used as OnAboutBoxTranslateTexts event in the about box dialog if OnAboutBoxTranslateTexts property is not assigned.

(Inherited from T__MainFormAncestor)
DoBuyALicense(TObject)

Called by the actBuyALicense used for "Help/Buy A License" menu option.

(Inherited from T__MainFormAncestor)
DoCheckForANewRelease(TObject)

Check if a new release is available for this program and allow to update

(Inherited from T__MainFormAncestor)
DoCheckLicenseOnStartup(TObject)

Check if a license in needed and if the program has been registered. It uses the CilTseg API, override it if you want an other key licensing system.

(Inherited from T__MainFormAncestor)
DoCloseAllAction(TObject)

Called when we need to close all documents

(Inherited from T__MainFormAncestor)
DoDocumentCloseAction(TObject, TProc)

Called when we need to close a document

(Inherited from T__MainFormAncestor)
DoDocumentNewAction(TObject)

Called when we need to create a new document

(Inherited from T__MainFormAncestor)
DoDocumentOpenAction(TObject)

Called when we need to open a document

(Inherited from T__MainFormAncestor)
DoDocumentOptionsAction(TObject)

Called by the actDocumentOptions action used for Document/Options menu option.

(Inherited from T__MainFormAncestor)
DoDocumentSaveAction(TObject)

Called when we need to save a document

(Inherited from T__MainFormAncestor)
DoDocumentSaveAsAction(TObject)

Called when we need to save a document as an other file (or a new one)

(Inherited from T__MainFormAncestor)
DoGetLanguageName(string)

Used as onGetLanguageName event in the current language selection dialog if onGetLanguageName property is not assigned.

(Inherited from T__MainFormAncestor)
DoGoToDocAction(TObject)

Called when we want to change current document and use an other opened one

(Inherited from T__MainFormAncestor)
DoHide (Inherited from T__TFormAncestor)
DoLanguageChangeAction(TObject)

Called by the actLanguages action used for Tools/Languages menu option.

(Inherited from T__MainFormAncestor)
DoOpenPreviousAction(TObject)

Called when we need to open a recent opened document

(Inherited from T__MainFormAncestor)
DoQuitAction(TObject)

Called by the actQuit action used for File/Quit menu option.

(Inherited from T__MainFormAncestor)
DoRecentDocumentsOptionsAction(TObject)

Called when we open the options dialog to change "recent files" properties

(Inherited from T__MainFormAncestor)
DoRegisterALicense(TObject)

Called when we need to register a license from the "Help/Register" menu option

(Inherited from T__MainFormAncestor)
DoSaveAllAction(TObject)

Called when we need to save all opened (and changed) documents

(Inherited from T__MainFormAncestor)
DoShow (Inherited from T__TFormAncestor)
DoStyleChangeAction(TObject)

Called by the actStyles action used for Tools/Styles menu option.

(Inherited from T__MainFormAncestor)
DoSupportAction(TObject)

Called by the actSupport action used for Help/Support menu option.

(Inherited from T__MainFormAncestor)
DoToolsOptionsAction(TObject)

Called by the actToolsOptions action used for Tools/Options menu option.

(Inherited from T__MainFormAncestor)
DoTranslateTexts(TObject, TMessage) (Inherited from T__TFormAncestor)
FormClose(TObject, TCloseAction) (Inherited from T__MainFormAncestor)
FormCloseQuery(TObject, Boolean) (Inherited from T__MainFormAncestor)
FormKeyDown(TObject, Word, WideChar, TShiftState) (Inherited from T__TFormAncestor)
FormShow(TObject) (Inherited from T__MainFormAncestor)
GetNewDoc(string)

Returns a document instance.

RefreshMenuItemsVisibility(TMenuItem, Boolean)

Show/hide a TMenuItem depending on its sub menus items visibility

(Inherited from T__MainFormAncestor)
TranslateTexts(string)

Translate texts for this form

(Inherited from T__MainFormAncestor)
actAboutExecute(TObject) (Inherited from T__MainFormAncestor)
actBuyALicenseExecute(TObject) (Inherited from T__MainFormAncestor)
actCheckForANewReleaseExecute(TObject) (Inherited from T__MainFormAncestor)
actCloseAllDocumentsExecute(TObject) (Inherited from T__MainFormAncestor)
actCloseDocumentExecute(TObject) (Inherited from T__MainFormAncestor)
actDocumentOptionsExecute(TObject) (Inherited from T__MainFormAncestor)
actLanguageChangeExecute(TObject) (Inherited from T__MainFormAncestor)
actNewDocumentExecute(TObject) (Inherited from T__MainFormAncestor)
actOpenDocumentExecute(TObject) (Inherited from T__MainFormAncestor)
actQuitExecute(TObject) (Inherited from T__MainFormAncestor)
actRecentFilesOptionsExecute(TObject) (Inherited from T__MainFormAncestor)
actRegisterALicenseExecute(TObject) (Inherited from T__MainFormAncestor)
actSaveAllDocumentsExecute(TObject) (Inherited from T__MainFormAncestor)
actSaveDocumentAsExecute(TObject) (Inherited from T__MainFormAncestor)
actSaveDocumentExecute(TObject) (Inherited from T__MainFormAncestor)
actStyleChangeExecute(TObject) (Inherited from T__MainFormAncestor)
actSupportExecute(TObject) (Inherited from T__MainFormAncestor)
actToolsOptionsExecute(TObject) (Inherited from T__MainFormAncestor)

Fields

MainFormAncestorActionList (Inherited from T__MainFormAncestor)
MainFormAncestorMenu (Inherited from T__MainFormAncestor)
actAbout (Inherited from T__MainFormAncestor)
actBuyALicense (Inherited from T__MainFormAncestor)
actCheckForANewRelease (Inherited from T__MainFormAncestor)
actCloseAllDocuments (Inherited from T__MainFormAncestor)
actCloseDocument (Inherited from T__MainFormAncestor)
actDocumentOptions (Inherited from T__MainFormAncestor)
actLanguageChange (Inherited from T__MainFormAncestor)
actNewDocument (Inherited from T__MainFormAncestor)
actOpenDocument (Inherited from T__MainFormAncestor)
actQuit (Inherited from T__MainFormAncestor)
actRecentFilesOptions (Inherited from T__MainFormAncestor)
actRegisterALicense (Inherited from T__MainFormAncestor)
actSaveAllDocuments (Inherited from T__MainFormAncestor)
actSaveDocument (Inherited from T__MainFormAncestor)
actSaveDocumentAs (Inherited from T__MainFormAncestor)
actStyleChange (Inherited from T__MainFormAncestor)
actSupport (Inherited from T__MainFormAncestor)
actToolsOptions (Inherited from T__MainFormAncestor)
mnuDocument (Inherited from T__MainFormAncestor)
mnuDocumentOptions (Inherited from T__MainFormAncestor)
mnuFile (Inherited from T__MainFormAncestor)
mnuFileClose (Inherited from T__MainFormAncestor)
mnuFileCloseAll (Inherited from T__MainFormAncestor)
mnuFileNew (Inherited from T__MainFormAncestor)
mnuFileOpen (Inherited from T__MainFormAncestor)
mnuFileOpenPrevious (Inherited from T__MainFormAncestor)
mnuFileOpenPreviousOptions (Inherited from T__MainFormAncestor)
mnuFileOpenPreviousSeparator (Inherited from T__MainFormAncestor)
mnuFileQuit (Inherited from T__MainFormAncestor)
mnuFileSave (Inherited from T__MainFormAncestor)
mnuFileSaveAll (Inherited from T__MainFormAncestor)
mnuFileSaveAs (Inherited from T__MainFormAncestor)
mnuHelp (Inherited from T__MainFormAncestor)
mnuHelpAbout (Inherited from T__MainFormAncestor)
mnuHelpBuyALicense (Inherited from T__MainFormAncestor)
mnuHelpCheckForANewRelease (Inherited from T__MainFormAncestor)
mnuHelpRegisterALicense (Inherited from T__MainFormAncestor)
mnuHelpSupport (Inherited from T__MainFormAncestor)
mnuMacOS (Inherited from T__MainFormAncestor)
mnuTools (Inherited from T__MainFormAncestor)
mnuToolsLanguage (Inherited from T__MainFormAncestor)
mnuToolsOptions (Inherited from T__MainFormAncestor)
mnuToolsStyle (Inherited from T__MainFormAncestor)
mnuWindows (Inherited from T__MainFormAncestor)