TMainForm Class

Unit: fMainForm
type TMainForm = class(T__MainFormAncestor)

The TMainForm type exposes the following members.

Show:
 NameDescription
Create

Class constructor (Inherited from _MainFormAncestor.T__MainFormAncestor .)

Top
Show:
 NameDescription
CurrentDocument

Current opened document (Inherited from _MainFormAncestor.T__MainFormAncestor .)

OnAboutBoxTranslateTexts

Use it if you want to override about box texts translation or add your languages. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

onGetLanguageName

Called in the Tools/Languages dialog to get the language name for an ISO code. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

Top
Show:
 NameDescription
AddFolderToList

AfterConstruction

Execute some code after the form instance construction (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoAboutAction

Called by the actAbout action used for Help/About menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoAboutBoxTranslateTexts

Used as OnAboutBoxTranslateTexts event in the about box dialog if OnAboutBoxTranslateTexts property is not assigned. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoBuyALicense

Called by the actBuyALicense used for "Help/Buy A License" menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoCheckForANewRelease

Check if a new release is available for this program and allow to update (Inherited from _MainFormAncestor.T__MainFormAncestor .)

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. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoCloseAllAction

Called when we need to close all documents (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoDocumentCloseAction

Called when we need to close a document (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoDocumentNewAction

Called when we need to create a new document (Overrides _MainFormAncestor.T__MainFormAncestor.DoDocumentNewAction .)

DoDocumentOpenAction

Called when we need to open a document (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoDocumentOptionsAction

Called by the actDocumentOptions action used for Document/Options menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoDocumentSaveAction

Called when we need to save a document (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoDocumentSaveAsAction

Called when we need to save a document as an other file (or a new one) (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoGetLanguageName

Used as onGetLanguageName event in the current language selection dialog if onGetLanguageName property is not assigned. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoGoToDocAction

Called when we want to change current document and use an other opened one (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoHide
DoLanguageChangeAction

Called by the actLanguages action used for Tools/Languages menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoOpenPreviousAction

Called when we need to open a recent opened document (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoQuitAction

Called by the actQuit action used for File/Quit menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoRecentDocumentsOptionsAction

Called when we open the options dialog to change "recent files" properties (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoRegisterALicense

Called when we need to register a license from the "Help/Register" menu option (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoSaveAllAction

Called when we need to save all opened (and changed) documents (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoShow
DoStyleChangeAction

Called by the actStyles action used for Tools/Styles menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoSupportAction

Called by the actSupport action used for Help/Support menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoToolsOptionsAction

Called by the actToolsOptions action used for Tools/Options menu option. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

DoTranslateTexts
FormClose
FormCloseQuery
FormCreate

FormKeyDown
FormShow
GetNewDoc

Returns a document instance. (Inherited from _MainFormAncestor.T__MainFormAncestor .)

RefreshMenuItemsVisibility

Overloaded. Show/hide a TMenuItem depending on its sub menus items visibility (Inherited from _MainFormAncestor.T__MainFormAncestor .)

ResetFields

TranslateTexts

Translate texts for this form (Overrides _MainFormAncestor.T__MainFormAncestor.TranslateTexts .)

actAboutExecute
actBuyALicenseExecute
actCheckForANewReleaseExecute
actCloseAllDocumentsExecute
actCloseDocumentExecute
actDocumentOptionsExecute
actLanguageChangeExecute
actNewDocumentExecute
actOpenDocumentExecute
actQuitExecute
actRecentFilesOptionsExecute
actRegisterALicenseExecute
actSaveAllDocumentsExecute
actSaveDocumentAsExecute
actSaveDocumentExecute
actStyleChangeExecute
actSupportExecute
actToolsOptionsExecute
btnAboutClick

btnAddFolderClick

btnDownloadOlfSkiaSVGToBitmapUnitClick

btnExportClick

btnRemoveFolderClick

lbFoldersToImportDragDrop

lbFoldersToImportDragOver

Top
Show:
 NameDescription
MainFormAncestorActionList
MainFormAncestorMenu
VertScrollBox1

actAbout
actBuyALicense
actCheckForANewRelease
actCloseAllDocuments
actCloseDocument
actDocumentOptions
actLanguageChange
actNewDocument
actOpenDocument
actQuit
actRecentFilesOptions
actRegisterALicense
actSaveAllDocuments
actSaveDocument
actSaveDocumentAs
actStyleChange
actSupport
actToolsOptions
btnAbout

btnAddFolder

btnClose

btnDownloadOlfSkiaSVGToBitmapUnit

btnExport

btnRemoveFolder

btnReset

cbGenerateOlfSkiaSVGToBitmapCode

cbUseMultilineStrings

edtGeneratedName

gplFoldersToImport

lbFoldersToImport

lblFoldersToImport

lblGeneratedName

mnuDocument
mnuDocumentOptions
mnuFile
mnuFileClose
mnuFileCloseAll
mnuFileNew
mnuFileOpen
mnuFileOpenPrevious
mnuFileOpenPreviousOptions
mnuFileOpenPreviousSeparator
mnuFileQuit
mnuFileSave
mnuFileSaveAll
mnuFileSaveAs
mnuHelp
mnuHelpAbout
mnuHelpBuyALicense
mnuHelpCheckForANewRelease
mnuHelpRegisterALicense
mnuHelpSupport
mnuMacOS
mnuTools
mnuToolsLanguage
mnuToolsOptions
mnuToolsStyle
mnuWindows
sdDestUnit

sdImportFolder

tbFooter

tbHeader

Top