Difference between revisions of "TMaskEdit/fr"

From Free Pascal wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
Un '''TMaskEdit''' [[image:tmaskedit.png]] est un contrôle avec une simple ligne de texte éditable qui doit concorder avec un 'EditMask' prédéfini. {{ComponentTab/fr|TMaskEdit|Additional}}.
 
Un '''TMaskEdit''' [[image:tmaskedit.png]] est un contrôle avec une simple ligne de texte éditable qui doit concorder avec un 'EditMask' prédéfini. {{ComponentTab/fr|TMaskEdit|Additional}}.
  
Le EditMask est formé d'un patron de caractères avec la signification suivante :
+
L'objet EditMask est formé d'un patron de caractères avec la signification suivante :
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| cMask_SpecialChar    || \ || after this you can set an arbitrary char
+
| cMask_SpecialChar    || \ || après ceci, vous pouvez mettre n'importe quel caractère
 
|-
 
|-
| cMask_UpperCase      || > || after this the chars is in upper case
+
| cMask_UpperCase      || > || après ceci, les caractères sont en majuscules
 
|-
 
|-
| cMask_LowerCase      || < ||  after this the chars is in lower case
+
| cMask_LowerCase      || < ||  après ceci, les caractères sont en minuscules
 
|-
 
|-
| cMask_Letter          || l ||  only a letter but not necessary
+
| cMask_Letter          || l ||  une lettre mais facultative
 
|-
 
|-
| cMask_LetterFixed    || L ||  only a letter
+
| cMask_LetterFixed    || L ||  seulement une lettre
 
|-
 
|-
| cMask_AlphaNum        || a ||  an alphanumeric char (['A'..'Z','a..'z','0'..'9']) but not necessary
+
| cMask_AlphaNum        || a ||  un caractère alphanumérique (['A'..'Z','a..'z','0'..'9']) mais facultatif
 
|-
 
|-
| cMask_AlphaNumFixed  || A ||  an alphanumeric char
+
| cMask_AlphaNumFixed  || A ||  un caractère alphanumérique
 
|-
 
|-
| cMask_AllChars        || c ||  any Utf8 char but not necessary
+
| cMask_AllChars        || c ||  tout caractère Utf8 mais facultatif
 
|-
 
|-
| cMask_AllCharsFixed  || C ||  any Utf8 char #32 - #255
+
| cMask_AllCharsFixed  || C ||  tout caractère Utf8 #32 - #255
 
|-
 
|-
| cMask_Number          || 9 ||  only a number but not necessary
+
| cMask_Number          || 9 ||  seulement un chiffre mais facultatif
 
|-
 
|-
| cMask_NumberFixed    || 0 ||  only a number
+
| cMask_NumberFixed    || 0 ||  seulement un chiffre
 
|-
 
|-
| cMask_NumberPlusMin  || # ||  only a number or + or -, but not necessary
+
| cMask_NumberPlusMin  || # ||  seulement un chiffre ou + ou -, mais pas nécessaire
 
|-
 
|-
| cMask_HourSeparator  || : ||  automatically put the hour separator char
+
| cMask_HourSeparator  || : ||  pose automatiquement le caractère séparateur d'heure
 
|-
 
|-
| cMask_DateSeparator  || / ||  automatically but the date separator char
+
| cMask_DateSeparator  || / ||  pose automatiquement le caractère séparateur de date
 
|-
 
|-
| cMask_SpaceOnly      || _ ||  automatically put a space         //not Delphi compatible        }
+
| cMask_SpaceOnly      || _ ||  pose automatiquement une espace         // incompatible avec Delphi
 
|-
 
|-
| cMask_NoLeadingBlanks || ! || Trim leading blanks, otherwise trim trailing blanks from the data
+
| cMask_NoLeadingBlanks || ! || élimine les blancs initiaux, sinon efface les blancs finaux.
 
|}
 
|}
  
 
= Voir aussi =
 
= Voir aussi =
* [[doc:lcl/maskedit/tmaskedit.html|DOc. TMaskEdit]]
+
* [[doc:lcl/maskedit/tmaskedit.html|Doc. TMaskEdit]].
* [[TEdit/fr|TEdit]] - un champ de base
+
* [[TEdit/fr|TEdit]] - un champ de base.
* [[TLabeledEdit]] - An edit field like a TEdit with a label
+
* [[TLabeledEdit/fr|TLabeledEdit]] - Un champ d'édition avec une étiquette.
* [[TSpinEdit]] - An edit field for integers defined numbers range limits
+
* [[TSpinEdit/fr|TSpinEdit]] - Un champ d'édition pour des nombre entiers avec une plage définie de nombres.
* [[TFloatSpinEdit]] - An edit field for tiles floating-point numbers with defined numbers range limits
+
* [[TFloatSpinEdit/fr|TFloatSpinEdit]] - Un champ d'édition pour des nombre réels avec une plage définie de nombres.
* [[TEditButton]] - An edit field like a TEdit with an attached button as a [[TSpeedBtn]]
+
* [[TEditButton/fr|TEditButton]] - Un champ d'édition comme TEdit avec un bouton attaché comme un [[TSpeedBtn/fr|TSpeedBtn]].
* [[TFileNameEdit]] - An edit field with attached [[TOpenDialog]], to enter a file name
+
* [[TFileNameEdit/fr|TFileNameEdit]] - Un champ d'édition avec un [[TOpenDialog/fr|TOpenDialog]] attaché, pour entrer un nom de fichier.
* [[TDirectoryEdit]] - An edit field with attached [[TSelectDirectoryDialog]], to enter a file path
+
* [[TDirectoryEdit/fr|TDirectoryEdit]] - Un champ d'édition avec un [[TSelectDirectoryDialog/fr|TSelectDirectoryDialog]] attaché, pour entrer un chemin d'accès.
* [[TDateEdit]] - An edit field with attached [[TCalendarDialog]] (calendar), to enter a date
+
* [[TDateEdit/fr|TDateEdit]] - Un champ d'édition avec un  attaché [[TCalendarDialog/fr|TCalendarDialog]] (calendrier), pour entrer une date.
* [[TCalcEdit]] - An input field with attached [[TCalculatorDialog]] (Calculator), to enter a number
+
* [[TCalcEdit/fr|TCalcEdit]] - Un champ d'édition avec une calculatrice [[TCalculatorDialog/fr|TCalculatorDialog]] attachée, pour entrer un nombre.
* [[TTIEdit]] - An RTTI capable input field
+
* [[TTIEdit/fr|TTIEdit]] - Un champ de saisie avec une capacité RTTI.
  
 
{{LCL Components/fr}}
 
{{LCL Components/fr}}

Latest revision as of 06:25, 21 September 2017

English (en) français (fr) русский (ru)

Un TMaskEdit tmaskedit.png est un contrôle avec une simple ligne de texte éditable qui doit concorder avec un 'EditMask' prédéfini. Le composant TMaskEdit est disponible depuis l'onglet Additional de la palette de composants.

L'objet EditMask est formé d'un patron de caractères avec la signification suivante :

cMask_SpecialChar \ après ceci, vous pouvez mettre n'importe quel caractère
cMask_UpperCase > après ceci, les caractères sont en majuscules
cMask_LowerCase < après ceci, les caractères sont en minuscules
cMask_Letter l une lettre mais facultative
cMask_LetterFixed L seulement une lettre
cMask_AlphaNum a un caractère alphanumérique (['A'..'Z','a..'z','0'..'9']) mais facultatif
cMask_AlphaNumFixed A un caractère alphanumérique
cMask_AllChars c tout caractère Utf8 mais facultatif
cMask_AllCharsFixed C tout caractère Utf8 #32 - #255
cMask_Number 9 seulement un chiffre mais facultatif
cMask_NumberFixed 0 seulement un chiffre
cMask_NumberPlusMin # seulement un chiffre ou + ou -, mais pas nécessaire
cMask_HourSeparator : pose automatiquement le caractère séparateur d'heure
cMask_DateSeparator / pose automatiquement le caractère séparateur de date
cMask_SpaceOnly _ pose automatiquement une espace // incompatible avec Delphi
cMask_NoLeadingBlanks ! élimine les blancs initiaux, sinon efface les blancs finaux.

Voir aussi


Composant LCL
Onglet de palette Composants
Standard TMainMenu • TPopupMenu • TButton • TLabel • TEdit • TMemo • TToggleBox • TCheckBox • TRadioButton • TListBox • TComboBox • TScrollBar • TGroupBox • TRadioGroup • TCheckGroup • TPanel • TFrame • TActionList
Additional TBitBtn • TSpeedButton • TStaticText • TImage • TShape • TBevel • TPaintBox • TNotebook • TLabeledEdit • TSplitter • TTrayIcon • TControlBar • TFlowPanel • TMaskEdit • TCheckListBox • TScrollBox • TApplicationProperties • TStringGrid • TDrawGrid • TPairSplitter • TColorBox • TColorListBox • TValueListEditor
Common Controls TTrackBar • TProgressBar • TTreeView • TListView • TStatusBar • TToolBar • TCoolBar • TUpDown • TPageControl • TTabControl • THeaderControl • TImageList • TPopupNotifier • TDateTimePicker
Dialogs TOpenDialog • TSaveDialog • TSelectDirectoryDialog • TColorDialog • TFontDialog • TFindDialog • TReplaceDialog • TOpenPictureDialog • TSavePictureDialog • TCalendarDialog • TCalculatorDialog • TPrinterSetupDialog • TPrintDialog • TPageSetupDialog • TTaskDialog
Data Controls TDBNavigator • TDBText • TDBEdit • TDBMemo • TDBImage • TDBListBox • TDBLookupListBox • TDBComboBox • TDBLookupComboBox • TDBCheckBox • TDBRadioGroup • TDBCalendar • TDBGroupBox • TDBGrid • TDBDateTimePicker
Data Access TDataSource • TBufDataset • TMemDataset • TSdfDataSet • TFixedFormatDataSet • TDbf
System TTimer • TIdleTimer • TLazComponentQueue • THTMLHelpDatabase • THTMLBrowserHelpViewer • TAsyncProcess • TProcessUTF8 • TProcess • TSimpleIPCClient • TSimpleIPCServer • TXMLConfig • TEventLog • TServiceManager • TCHMHelpDatabase • TLHelpConnector
Misc TColorButton • TSpinEdit • TFloatSpinEdit • TArrow • TCalendar • TEditButton • TFileNameEdit • TDirectoryEdit • TDateEdit • TTimeEdit • TCalcEdit • TFileListBox • TFilterComboBox • TComboBoxEx • TCheckComboBox • TButtonPanel • TShellTreeView • TShellListView • TXMLPropStorage • TINIPropStorage • TIDEDialogLayoutStorage • TMRUManager • TStrHolder
LazControls TCheckBoxThemed • TDividerBevel • TExtendedNotebook • TListFilterEdit • TListViewFilterEdit • TTreeFilterEdit • TShortPathEdit • TLvlGraphControl
RTTI TTIEdit • TTIComboBox • TTIButton • TTICheckBox • TTILabel • TTIGroupBox • TTIRadioGroup • TTICheckGroup • TTICheckListBox • TTIListBox • TTIMemo • TTICalendar • TTIImage • TTIFloatSpinEdit • TTISpinEdit • TTITrackBar • TTIProgressBar • TTIMaskEdit • TTIColorButton • TMultiPropertyLink • TTIPropertyGrid • TTIGrid
SQLdb TSQLQuery • TSQLTransaction • TSQLScript • TSQLConnector • TMSSQLConnection • TSybaseConnection • TPQConnection • TPQTEventMonitor • TOracleConnection • TODBCConnection • TMySQL40Connection • TMySQL41Connection • TMySQL50Connection • TMySQL51Connection • TMySQL55Connection • TMySQL56Connection • TSQLite3Connection • TIBConnection • TFBAdmin • TFBEventMonitor • TSQLDBLibraryLoader
Pascal Script TPSScript • TPSScriptDebugger • TPSDllPlugin • TPSImport_Classes • TPSImport_DateUtils • TPSImport_ComObj • TPSImport_DB • TPSImport_Forms • TPSImport_Controls • TPSImport_StdCtrls • TPSCustomPlugin
SynEdit TSynEdit • TSynCompletion • TSynAutoComplete • TSynMacroRecorder • TSynExporterHTML • TSynPluginSyncroEdit • TSynPasSyn • TSynFreePascalSyn • TSynCppSyn • TSynJavaSyn • TSynPerlSyn • TSynHTMLSyn • TSynXMLSyn • TSynLFMSyn • TSynDiffSyn • TSynUNIXShellScriptSyn • TSynCssSyn • TSynPHPSyn • TSynTeXSyn • TSynSQLSyn • TSynPythonSyn • TSynVBSyn • TSynAnySyn • TSynMultiSyn • TSynBatSyn • TSynIniSyn • TSynPoSyn
Chart TChart • TListChartSource • TRandomChartSource • TUserDefinedChartSource • TCalculatedChartSource • TDbChartSource • TChartToolset • TChartAxisTransformations • TChartStyles • TChartLegendPanel • TChartNavScrollBar • TChartNavPanel • TIntervalChartSource • TDateTimeIntervalChartSource • TChartListBox • TChartExtentLink • TChartImageList
IPro TIpFileDataProvider • TIpHttpDataProvider • TIpHtmlPanel