It is a summary for Tnt-Delphi of functions, procedures and adaptation of own and not own components.
JMN = Jordi March i Nogué
[Remember JMN-Lib is similar to JMN-Tnt-Lib with not Unicode Controls]
Translations of po files:
Folders & Packages |
JMNCommon |
||
JMNTnt |
|||
JMNTntSm |
JMNTntBl |
||
Object Repository |
JMNTntObjReposSm |
JMNTntObjReposBl |
It contains the shared packages for all below directories and packages (included [of JMN libraries] JMN, JMNSm and JMNBl). Also contains two components.
Look at here for more info.
It contains the shared packages and components for all below directories and packages (JMNTntSm and JMNTntBl).
Look at here for more info.
Sm=Simple.
Look at here for more info.
Bl=Blind.
It enables to make a program for people with visual difficulty or blind.
Look at here for more info.
Install the libraries:
JVCL (JEDI Visual Component Library) : http://www.delphi-jedi.org/. Check dxgettext support.
SynEdit of several authors: http://synedit.sourceforge.net/.
TExtendedList of Sébastien Doeraene's SJRDUnits: http://sjrd.developpez.com/. You can use the version that is attached with my source.
(But used):
ImageFileLib of Michael Vinther: http://www.logicnet.dk/lib/
TGIFImage of Finn Tolderlund: http://www.tolderlund.eu/delphi/
TPMath of Jean Debord: http://www.unilim.fr/pages_perso/jean.debord/tpmath/tpmath.htm
TDBF from http://tdbf.sourceforge.net/
Because their source code is among JMN-Lib one.
The installer program has been created the next folders:
Where $INSTDIR = C:\Prg
-1: From Environment Options window of Delphi IDE: Add the next directories in Library Path:
$(DELPHI)\Lib\SJRD\
Compile: $(DELPHI)\Lib\SJRD\SJRDUnits.dpk
0. If an old version already installed: close Delphi and delete JMN*.bpl.
1. Install from http://www.tntware.com/delphicontrols/unicode/downloads.htm:
a. Packages: TntEx (from original Francisco Leong) Update from Jordi March's compilation (then another libraries and units are also required, read Readme.rtf in there library).
b. Stanley Xu's TntIniFiles unit.
2. The installer program has been copied the folders inside to one directory, for example in $(DELPHI)\Lib.
3. From Environment Options window of Delphi IDE: Add the next directories in Library Path:
4. Open Common_DX.bpg from JMNCommon\Packages folder and compile/install the packages sequentially:
Look at here for content info.
JMNCommon packages are required.
From Environment Options window of Delphi IDE: Add the next directories in Library Path:
Open JMNTnt_DX.bpg from JMNTnt\Packages folder and compile/install the packages sequentially:
Look at here for content info.
JMNCommon and JMNTnt packages are required.
From Environment Options window of Delphi IDE: Add the next directories in Library Path:
Open JMNTntSm_DX.bpg from JMNTntSm\Packages folder and compile/install the packages sequentially:
Look at here for content info.
JMNCommon and JMNTnt packages are required.
From Environment Options window of Delphi IDE: Add the next directories in Library Path:
Open DCLSAPI51DX.dpk from SAPI5\Delphi X package folder and compile/install its package.
Open JMNTntBl_DX.bpg from JMNTntBl\Packages folder and compile/install the packages sequentially (before remember to inspect the directive values for WithPoF (contained in PerhapsPoF.inc), ForBlind and ForBlindSpk (contained in PerhapsBlind.inc)):
Look at here for content info.
It contains several packages:
Look at here for installation.
Functions, procedures, ...
Data modules
Objets and components
Not-Unicode specifics. They are:
Data set utilities.
Var and type for dates.
Single components that hold a form.
General type and functions.
String-number conversions.
Controls position procedures
TDMTranslate is an ancestor for all TDataModule that will perhaps require a translation.
TDMPlot0 is the ancestor for TTntDMPlot.
of Ralf Junker.
for load/save GIF Images of Anders Melander.
Minimizer for modal windows of Zecos Software.
With any Draw types and functions; and TIntegerList0 (from SjrdLists.TExtendedList), TExtendedList0 and TRPointList0.
Used for TTntMathParser.
TPMath\*.pas: of J. Debord, used for TMathParser (ATCalc program).
ImageFileLib\*.pas: shared files for ImageFileLib and TntImageFileLib.
It contains several packages:
JMNTnt_dbf
TntImageFileLib
JMNTnt_SmBl
Units not included in the previous packages
Look at here for installation.
Modified from tdbf_dXr.dpk and dbf_dXd.dpk, which units are adapted to WideString path, table and index name.
Used by JMNTnt_VNew.
Paradox components
Edit controls
Database controls
Ohter controls
Functions, procedures, ...
Data modules
Required validation: some edit controls have a Required property, if the text is empty, Required = True and in run-time the color is changed to TntEdiDaTi.clEdiBgWarning (by default, rose color). This controls contain a Valid public function.
Units: Tntdn*.pas
Modification from Dieter Nöth's library, a Paradox mask acts as a template that formats an edit.
Once installed: see the sample or click in the right button that appears at right of PxMask property input.
At next there are grouped by type: the characters to use and their description:
# Any digit (0-9).
? Any letter (A-Z, a-z, including international characters).
& Any letter (converted to uppercase).
~ Any letter (converted to lowercase).
@ Any character.
! Any character (converted to uppercase).
; Interpret the next character as a literal.
[] Optional operator. For e.g. [###] = three digits or none.
{} Grouping operator. For e.g. {a,b,c} = a, b or c.
, Used within grouping operator
* Any number of repeats of the following character. For instance *& means convert any number of characters to uppercase. To specify a specific number of times, follow the * with a number. For instance, to specify exactly 5 numbers in a row, you would use *5{#}. To specify from 0 to 5 numbers in a row, you would use *5[#].
Are taken literally
Example: imagine that you wants to enter the numbers of fixed telephone and mobile: it can have two possibilities:
{*6{#}[#],[## ]*7{#},[### ]*6{#}
TTntBBFont, enables on click self to select a Font from TFontDialog, then Caption := CaptionLabel + FontSize, where Font := FontDialog.Font.Font. TTntIBFont it is similar.
TTntEditCpx0 is a complex input, with Required validation.
TTntDateEditAppr0, with Required validation, for input an approach dates (and keep this dates as is) in a special way:
s = Semester
t = Trimester
f = Fortnight
w = Week
Then, the next inputs are valid:
1990
7/2007 = july/2007
1s/2007 = 1st semester/2007
3w/2/1980 = 3rt week/2/1980
Custom controls with with Required validation and some modifications of chars when typing (for edit inputs), for TntEdiTAmp and TntEdiTAmpBl.
TTntCustomRadioGroupR,
TTntCustomEditR,
TTntCustomEditOnlyFileName, not supports '\:.'
TTntCustomEditTxt,
TTntCustomEditName,
TTntCustomComboBoxR,
TTntCustomComboBoxRWLI, remembers last input.
TTntEditTime0, TTntEditTimeLim0, TTntEditTimeMP0, with Required validation.
You can input a time in a special way:
1d = 1 day
1w = 1 week
1m = 1 month
1y = 1 year
1h = 1 hour
1m 15d = 1 month and 15 days
TTntEditTimeMP is also a T multi-panel control for time conversion.
TTntMemoExt, TTntMemoExtPresL: TMemo that it can get the cursor-position, modified from Alexander Meeder.
TTntCustomIACheckBox, TTntCustomIARadioButton, TTntCustomIARadioGroup, TTntCustomIADBCheckBox, TTntCustomIADBRadioGroup: are controls similar to TTntCheckBox, TTntRadioButton, TTntRadioGroup, TTntDBCheckBox, TTntDBRadioGroup, with:
Multiline Caption, when WordWrap = False. Also in radio group.
Correct Alignment of text. New possibility: center alignment of text with (checkbox or round button) image at top or bottom.
The images are changed to a bigger ones when TFont.Size > 12.
AutoSize, by default, and exists an adjust size procedure.
This components are a modification from Igor Andronov's IACheckControl.
TTntIBFont, similar to TTntBBFont, but is child of TTntJvImgBtn.
TTntJvSpinEditR derived from TTntJvSpinEdit where initially Text = '', with Required validation.
TTntRFilterEdit0, an implementation of a TTntEdit with ValidChars string filter, with Required validation.
Numeric input controls with ranges (nothing, Max, Min or both) and validation functions.
It comes with three types, each handling its special input range (real, integer and cardinal) and two groups:
Without value (record Valid: Boolean; Num: TNumType; end;): TTntEditVReal0, TTntEditVInteger0, TTntEditVCardinal0, with Required validation.
With value (between range MinValue MaxValue): TTntEditReal0, TTntEditInteger0, TTntEditCardinal0.
Modified from Robert Kratz's components.
TTntmoDBNav0 is a common dataset navigator, with: 2 points of memory localization of records and their relocation
1 point of modified memory of the last modified record,
buttons of adding a record before the current record and the "normal" with a new image at the end.
buttons of to cancel and to accept in colour,
search button.
preset Hits,
possibility of vertical position of the bar.
Modified from Maggie Owens's control.
Other is: TTntmoDBInsert, installed by JMNTnt_Sm1_DXD.
TTntCustomDBIntegerEdit, TTntCustomDBFloatEdit: from TTntCustomDBEditR with Max and Min limits.
TTntDBRText is a TntDBText within rectangle.
Resourcestrings for edits with Required validation and its warning background color.
Controls (which ancestors in TntEdiTAmp0):
TTntCustomDBRadioGroupR, TTntCustomDBEditR, TTntCustomDBEditTxt, TTntCustomDBEditName
A BitBtn with background color. It is an update from UtilMind's ButtonWithColor.
Modified from Arnt Kern's component. It contains a convenient controls whit copy, move and delete files:
TTntCCopyMoveBoxDlg0
TTntCDelBoxDlg0
TTntCopyMoveBoxDlg0
TTntDelBoxDlg0
TTntDirMon, a Directory Changes Monitoring Component: notifies by changes in a directory such as: File/Directory: Create/Delete/Modify/Rename
TTntIBFont, enables on click self to select a Font from TFontDialog, then Caption := CaptionLabel + FontSize, where Font := FontDialog.Font. Similar to TTntBBFont.
There are TTntJv0TipOfDay and TntJv0TipOfDayF: an adaptation of JVCL's JvTipOfDay:
adds:
ShowTipsOnStartup
ReplaceTabForLineBreak
when Application.BiDiMode = bdRightToLeft do:
FlipChildren (True); FTipLabel.Alignment := taRightJustify;
and changes arrow glyphs
now uses: JvGnugettext.TranslateComponent.
TTntMathParser0: A complet math parser (used in ATCalc). Several examples.
With a lot of functions (arithmetical, trigonometric, statistical, complex numbers, etc.), you can create variables in run time. For example, with α variable: (Ln (α+15) * 25) - 45.
Several objects, that store position and size of a TForm; also DBGrid columns width and order. Optionally save-load from/of ini file.
Procedures for handling datasets, to write dataset to clipboard, string from record, etc.
Procedures for handling datasets, write or read records to or from Unicode text files, with normal messages.
Date and time constants and functions for exact date (new version will support approached dates).
Date and time constants and functions for non exact date (approach).
It contains (for statistical calculations for quantitative variables) TTntQtVStatCalcPres0. Its ancestor is DbCStatPres00.TQtVStatCalcPres00.
A single DIMime unit adaptation to WideString.
Resourcestrings and warning background color forwith Required validation.
TExceptionLog0W: handles critical errors and write them to a log file.
Several file functions.
Only contains TntHelpFile: the help filename (used by TntHtmlHelpAPI and TntHtmlHelpAPIBl units)
TTntNewIniFile0 from TTntMemIniFile, with read/write Char, WChar and TTntStrings.
TTntHlpIniFLoadSave0 a TComponent, that contains: ApplicationName, ApplicationPath, IniFile, assigns Application.HelpFile.
Contains resourcestrings, var and functions used by TntMessFont and TntMessFontBl.
Standard messages with only one parameter, the message: WideMessageBoxInfo, WideMessageBoxError, WideUserSayYes, ...
Messages with autoclosing: WideMessageBoxInfoTimer, WideMessageBoxErrorTimer,...
Check for the program instances (also used by TntPBJustOne and TntPBJustOneBl). If AllowedInstances = 0, it don't check.
Handling font: read and write to ini files. Height and Width of text.
Load images.
WideString search and replace procedures.
Functions for handling WideString.
Data module that enables to plot functions, draw shapes, lines, etc. (used in ATCalc).
An image of the example:
TTntInstApp0: For to make a link to the program, association with any program according the file extension, and modifications of Windows registers.
Some procedures with BiDiMode.
TTntWAVFile: Read a WAV file header.
It contains several packages:
JMNTnt_Sm1
JMNTnt_CCopy
JMNTnt_Sm2
Units not included in the previous packages
Look at here for installation.
Edit controls
Database controls
Other controls
Functions, procedures, ...
Dialogs
Control (which ancestor in TntEdiCpx0) with Unicode standard error messages: TTntEditCpx.
Controls (which ancestors in TntEdiDateAppr0) with Unicode standard error messages: TTntDateEditAppr:
Controls (which ancestors in TntEdiTime0) with Unicode standard error messages: TTntEditTime, TTntEditTimeLim, TTntEditTimeMP.
Controls (which ancestors in TntEdiTAmp0) with Unicode standard error messages:
TTntRadioGroupR
TTntEditR
TTntEditOnlyFileName
TTntEditTxt
TTntEditName
TTntComboBoxR
TTntComboBoxRWLI
Also look at database components.
Control (which ancestor in TntIAExtCtrls0) with Unicode standard error messages: TTntIARadioGroup.
Control (which ancestor in TntJvSpinR0) with Unicode standard error messages: TTntJvSpinEditR.
Control (which ancestor in TntRfEdit0) with Unicode standard error messages: TTntRFilterEdit.
Controls (which ancestors in TntRZNEdit0) with Unicode standard error messages:
TTntEditVReal, TTntEditVInteger and TTntEditVCardinal.
TTntEditReal, TTntEditInteger, TTntEditCardinal.
Control (which ancestors in TntDbNavNew0) with Unicode standard error messages: TTntmoDBNav.
Controls (which ancestors in TntDbNum0) with Unicode standard error messages: TTntDBIntegerEdit, TTntDBFloatEdit.
Controls (which ancestors in TntEdiTAmp0), with Unicode standard error messages: TTntDBEditR, TTntDBEditTxt, TTntDBEditName.
Controls (which ancestors in TntIADBCtrls0) with Unicode standard error messages: TTntIADBCheckBox and TTntIADBRadioGroup.
Control (which ancestor in TntButtonWithColor0) with Unicode standard error message.
TTntPBJustOne enables only one unique instance of an application at each time. Modified from Patrick Brisacier's component.
Control (which ancestor in TntParser) with Unicode standard error messages: TTntMathParser.
Procedures for handling datasets, write or read records to or from text files, with Unicode standard messages.
TExceptionLogW: TExceptionLogW0 (from TntELog0), with Unicode standard messages.
Functions for handling files, some with Unicode standard messages.
Open TntHelpFile (.chm file).
Objects from TntMabSave0, with Unicode standard messages.
Procedures and functions inherited from WideMessageDlg with a Font.
Input functions:
InputBool, from a prompt
InputString
InputInteger
InputIntegerFromList, integer from a TStringList displayed in a TRadioGroup
InputOkRBtnAnswerFromList, answer is OK from a TStringList displayed in a TRadioGroup
InputIntegerSE, integer from TSpinEdit
Input2IntegerSE, 2 integers from TSpinEdit
InputExtended
Input2Extended
InputEDate, exact date
InputADate, approximate date
InputTime
InputCpx, complex number
InputRMatrix, real matrix
InputStringList
Two modes: centered dialogs or remember position (and size) of the dialogs. InputBool, InputString, InputIntegerFromList and InputOkRBtnAnswerFromList also can display in their resizable dialogs a text, htm and images.
Dialogs with a prompt and a customize (non-standard) buttons.
The default TTntForm: TFormBF, with: AutoScroll = False, Position = poScreenCenter, ShowHint = True. Almost all the forms in JMNTntObjReposSm descend of this.
Inherited from TntCCopyDlg0, with Unicode standard messages.
TTntCCopyMoveBoxDlg
TTntCDelBoxDlg
TTntCopyMoveBoxDlg
TTntDelBoxDlg
TTntInstApp: TTntInstApp0 (from TntInst0) with an implementation of standard error messages.
It enables to make a program for people with visual difficulty or blind.
It contains several packages:
DCLSAPI51
JMNTnt_Bl0
JMNTnt_Bl
Units not included in the previous packages
Look at here for installation.
Contains a lot of objects (TOleServer), TSpVoice is the speak engine used by the next packages. In a separated directory (SAPI5). Examples. For SAPI 4 use TntmSpeech.
Edit controls
Database controls
Other controls
TTntStringGridBl.
TTntMemoExtBl, TTntMemoExtPresLBl.
Controls (which ancestor in TntIABasicCtrls) with adapted messages: TTntIACheckBoxBl, TTntIARadioButtonBl.
TTntListBoxBl, TTntComboBoxBl.
TTntDBComboBoxBl.
You should change TTntLabel for TTntLabelWC for NVDA screen reader access to labels of your program. Look at here for more info.
Edit controls
Database controls
Other controls
Functions, procedures, ...
Data modules
Forms
TTntPageControlBl.
TTntOpenDialogBl, TTntSaveDialogBl.
Control (which ancestor in TntEdiCpx0) with adapted messages: TTntEditCpxBl.
Control (which ancestor in TntEdiDateAppr0) with adapted messages: TTntDateEditApprBl.
Controls (which ancestors in TntEdiTAmp0), with adapted messages.
TTntEditRBl
TTntEditFileNameExtBl
TTntEditOnlyFileNameBl
TTntEditTxtBl
TTntEditNameBl
TTntComboBoxRBl
TTntComboBoxRWLIBl
TTntPxMaskEditRBl
Controls (which ancestors in TntEdiTime0) with adapted messages: TTntEditTimeBl, TTntEditTimeLimBl and TTntEditTimeMPBl.
TTntFileListBoxBl, TTntDirectoryListBoxBl.
Control (which ancestor in TntIAExtCtrls0) with adapted messages: TTntIARadioGroupBl.
Control (which ancestor in TntJvSpinR0) with adapted messages: TTntJvSpinEditRBl.
TTntJvFilenameEditBl, TTntJvDirectoryEditBl, TTntJvDateEditBl.
Control (which ancestor in TntRfEdit0) with adapted messages: TTntRFilterEditBl.
Controls (which ancestors in TntRZNEdit0) with adapted messages: TTntEditRealBl, TTntEditIntegerBl, TTntEditCardinalBl, TTntEditVRealBl, TTntEditVIntegerBl, TTntEditVCardinalBl.
Id TntDbNavNew0 but with optional large images: TTntmoDBNavWBI0, TTntmoDBInsertWB.
Controls (which ancestors in TntDbNum0) with adapted messages: TTntDBIntegerEditBl, TTntDBFloatEditBl.
Controls (which ancestors in TntEdiTAmp0), with adapted messages: TTntDBEditRBl, TTntDBEditTxtBl, TTntDBEditNameBl.
Controls (which ancestors in TntIADBCtrls0) with adapted messages: TTntIADBCheckBoxBl and TTntIADBRadioGroupBl.
TTntJvDBGridSBl, from TTntJvDBGridS, with events do say the cell content.
TTntJvMemoryData with PostError and DisplayText, with adapted messages.
Control (which ancestor in TntButtonWithColor0) with adapted message.
Control (which ancestor in TntJv0TipOfDay) with adapted messages: TTntJv0TipOfDayBl.
Control (which ancestor in TntParser) with adapted messages: TTntMathParserBl.
Procedures for handling datasets, write or read records to or from text files, with adapted messages.
TExceptionLogWBl: TExceptionLogW0 (from TntELog0), with adapted messages.
Functions for handling files, with adapted messages.
Open TntHelpFile (.chm file).
Objects from TntMabSave0, with adapted messages.
Similar to TntMessFont, with similar style to adapted messages.
Similar to TntMessOther, with similar style to adapted messages.
Contains the more used messages used from TntMessUsual and TntMessOther, using the TntModIniLLSF.Font: MessageSFBoxInfo, MessageSFBoxError, UserSFSayYes, MessageSFBoxInfoTimer, MessageXSFDlg, ...
TntDMBld0. Your project must contain a TntDMBld0 child.
TTntModIniLLSF is t he main DataModule, contains the shared font, if the user is blind, the screen reader (Jaws or NVDA), short cuts for several procedures used by blind users, ancestor for image lists, program language, several procedures for resize the controls,.... Your project must contain a TTntModIniLLSF child.
TTntFTrans must be the ancestor for any form of your project. It controls the activation of the forms, the focus changes, assigns the hotkeys, etc..
Contains two compiler directives:
ForBlind: if the user requires a screen reader, on pressing F6 the program displays an information message referred to current control, and with F7 to current form.
ForBlindSpk: the program emulates a screen reader sending the messages to Speech Engine (SAPI 4 or 5.1).
TTntFrSelItem is the ancestor frame of TTntFrSelField.
TTntFrSelField is the field selector used by TTntFSelSortFlds.
TTntFSelSortFlds uses three TTntFrSelField for to select the fields to sort the dataset.
TTntInstAppSF: TTntInstApp0 (from TntInst0) with adapted messages.
TntTextToSpeech is a WideString adaptation to TextToSpeech: enables to speech wide text (for Russian, Japanese, Korean). You need installed the Lernout & Hauspie (L&H) voices from free (http://www.vioio.com/voices.htm) or payment (Arabic, Danish, Greek, Norwegian, Polish, Swedish from http://www.nextup.com/TextAloud/SpeechEngine/voices.html) voices. An adaption from mSpeech.pas of Chen Yu (SAPI 4). Examples. For SAPI 5.1 use SpeechLib_TLB.