Difference between revisions of "TActionList/fr"

From Lazarus wiki
Jump to navigationJump to search
(Created page with "{{TActionList}} A '''TActionList''' image:tactionlist.png component is a container for TAction components. When using TActions in the Action-property of bu...")
 
 
Line 1: Line 1:
 
{{TActionList}}
 
{{TActionList}}
  
A '''TActionList''' [[image:tactionlist.png]] component is a container for [[TAction/fr|TAction]] components. When using TActions in the Action-property of buttons, menus, dialogs, controls it is possible to centralize the effects of mouse-clicks, menu-choices, dialog-selections etc. in a single event handler.
+
Un composant '''TActionList''' [[image:tactionlist.png]] est un conteneur pour les composants [[TAction/fr|TAction]]. En utilisant des TActions dans la propriété Action de boutons, menus, dialogues et contrôle, il devient possible de centraliser les effets du clic de souris, des choix de menu, des sélection de dialogue etc. dans un unique gestionnaire d'événement.
  
To use a TActionList on a [[TForm]], you select it on the [[Standard tab]] of the [[Component Palette]] and place it by clicking on the form.
+
Pour utiliser un TActionList sur une fiche, vous le sélectionnez sur l'[[Standard tab/fr|onglet Standard]] de la [[Component Palette/fr|palette de composant]] et le placez sur la fiche avec un clic.
  
;Images: a link to a [[TImageList]] that can hold images that correspond to the contained TActions of the TActionList.
+
;Images: un lien vers un [[TImageList/fr|TImageList]] qui peut tenir des images qui correspondent aux TActions contenus dans l'ActionList.
;State:  
+
;State:
:;asNormal: normal handling when TActions are invoked by hotkeys or otherwise.
+
:;asNormal: gestion normale quand les actions sont invoquées par des touches de raccourci ou autres.
:;asSuspended: no response on invoking, but TAction.Enabled is left unchanged 
+
:;asSuspended: pas de réponse à l'invocation mais la propriété TAction.Enabled demeure inchangée.
:;asSuspendedEnabled: no response on invoking, but all TAction.Enabled are set ''true''
+
:;asSuspendedEnabled: pas de réponse à l'invocation mais tous les TAction.Enabled sont mis à ''True''.
  
Double-clicking on the TActionList present the ActionList Editor where you can add new TActions. Right-click in the actionlist-editor present a local menu. [[TStandardAction/fr|TStandardAction]]s are also available with {{keypress|Ctrl+Ins}}.
+
Le Double-clic sur le TActionList présente l'éditeur de liste d'actions où vous pouvez ajoutez des TAction. Un clic-droit dans l'éditeur de liste d'actions présente un menu local. [[TStandardAction/fr|TStandardActions]] sont aussi disponibles avec {{keypress|Ctrl}}+{{keypress|Ins}}.
  
 
[[image:actionlist-editor.png]]
 
[[image:actionlist-editor.png]]

Latest revision as of 20:05, 31 August 2017

Deutsch (de) English (en) français (fr) 日本語 (ja) русский (ru)

Un composant TActionList tactionlist.png est un conteneur pour les composants TAction. En utilisant des TActions dans la propriété Action de boutons, menus, dialogues et contrôle, il devient possible de centraliser les effets du clic de souris, des choix de menu, des sélection de dialogue etc. dans un unique gestionnaire d'événement.

Pour utiliser un TActionList sur une fiche, vous le sélectionnez sur l'onglet Standard de la palette de composant et le placez sur la fiche avec un clic.

Images
un lien vers un TImageList qui peut tenir des images qui correspondent aux TActions contenus dans l'ActionList.
State
asNormal
gestion normale quand les actions sont invoquées par des touches de raccourci ou autres.
asSuspended
pas de réponse à l'invocation mais la propriété TAction.Enabled demeure inchangée.
asSuspendedEnabled
pas de réponse à l'invocation mais tous les TAction.Enabled sont mis à True.

Le Double-clic sur le TActionList présente l'éditeur de liste d'actions où vous pouvez ajoutez des TAction. Un clic-droit dans l'éditeur de liste d'actions présente un menu local. TStandardActions sont aussi disponibles avec Ctrl+Ins.

actionlist-editor.png

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