T__Main Form Ancestor Class
Ancestor for your main form.
The T__MainFormAncestor type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CurrentDocument | Current opened document |
![]() | OnAboutBoxTranslateTexts | Use it if you want to override about box texts translation or add your languages. |
![]() | onGetLanguageName | Called in the Tools/Languages dialog to get the language name for an ISO code. |
| Name | Description | |
|---|---|---|
![]() | AfterConstruction | Execute some code after the form instance construction |
![]() | DoAboutAction | Called by the actAbout action used for Help/About menu option. |
![]() | DoAboutBoxTranslateTexts | Used as OnAboutBoxTranslateTexts event in the about box dialog if OnAboutBoxTranslateTexts property is not assigned. |
![]() | DoBuyALicense | Called by the actBuyALicense used for "Help/Buy A License" menu option. |
![]() | DoCheckForANewRelease | Check if a new release is available for this program and allow to update |
![]() | DoCheckLicenseOnStartup | 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. |
![]() | DoCloseAllAction | Called when we need to close all documents |
![]() | DoDocumentCloseAction | Called when we need to close a document |
![]() | DoDocumentNewAction | Called when we need to create a new document |
![]() | DoDocumentOpenAction | Called when we need to open a document |
![]() | DoDocumentOptionsAction | Called by the actDocumentOptions action used for Document/Options menu option. |
![]() | DoDocumentSaveAction | Called when we need to save a document |
![]() | DoDocumentSaveAsAction | Called when we need to save a document as an other file (or a new one) |
![]() | DoGetLanguageName | Used as onGetLanguageName event in the current language selection dialog if onGetLanguageName property is not assigned. |
![]() | DoGoToDocAction | Called when we want to change current document and use an other opened one |
![]() | DoLanguageChangeAction | Called by the actLanguages action used for Tools/Languages menu option. |
![]() | DoOpenPreviousAction | Called when we need to open a recent opened document |
![]() | DoQuitAction | Called by the actQuit action used for File/Quit menu option. |
![]() | DoRecentDocumentsOptionsAction | Called when we open the options dialog to change "recent files" properties |
![]() | DoRegisterALicense | Called when we need to register a license from the "Help/Register" menu option |
![]() | DoSaveAllAction | Called when we need to save all opened (and changed) documents |
![]() | DoStyleChangeAction | Called by the actStyles action used for Tools/Styles menu option. |
![]() | DoSupportAction | Called by the actSupport action used for Help/Support menu option. |
![]() | DoToolsOptionsAction | Called by the actToolsOptions action used for Tools/Options menu option. |
![]() | FormClose | |
![]() | FormCloseQuery | |
![]() | FormShow | |
![]() | GetNewDoc | Returns a document instance. Override it in your main form descendant to create an instance of the good class (yours) |
![]() | RefreshMenuItemsVisibility | Overloaded. Show/hide a TMenuItem depending on its sub menus items visibility |
![]() | RefreshMenuItemsVisibility | Overloaded. Show/hide TMainMenu items depending on there sub menus items visibility |
![]() | TranslateTexts | Translate texts for this form (Overrides _TFormAncestor.T__TFormAncestor.TranslateTexts .) |
![]() | actAboutExecute | |
![]() | actBuyALicenseExecute | |
![]() | actCheckForANewReleaseExecute | |
![]() | actCloseAllDocumentsExecute | |
![]() | actCloseDocumentExecute | |
![]() | actDocumentOptionsExecute | |
![]() | actLanguageChangeExecute | |
![]() | actNewDocumentExecute | |
![]() | actOpenDocumentExecute | |
![]() | actQuitExecute | |
![]() | actRecentFilesOptionsExecute | |
![]() | actRegisterALicenseExecute | |
![]() | actSaveAllDocumentsExecute | |
![]() | actSaveDocumentAsExecute | |
![]() | actSaveDocumentExecute | |
![]() | actStyleChangeExecute | |
![]() | actSupportExecute | |
![]() | actToolsOptionsExecute |
Never change anything in this unit if you want to follow the starter kit updates.



