TActionList/ja: what changed
Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.
Title: TActionList/ja
| Old | New | Line | |
|---|---|---|---|
| 1 | + | **TActionList**コンポーネントは、[[TAction|TActionコンポーネントのコンテナである]]。ボタン、メニュー、ダイアログ、コントロールのActionプロパティでTActionを使用すると、マウスクリック、メニュー選択、ダイアログ選択などの効果を1つのイベントハンドラで中央集約することができる。 | |
| 2 | + | ||
| 3 | + | TForm上でTActionListを使用するには、[[Component Palette/ja|コンポーネントパレットの]][[Standard tab/ja|Standardタブでそれを]]選択し、フォーム上でクリックして配置する。 | |
| 4 | + | ||
| 5 | + | 画像 | |
| 6 | + | TActionListの含まれるTActionsに対応する画像を保持できる[[TImageList|TImageListへのリンク]]。 | |
| 7 | + | ||
| 8 | + | 状態 | |
| 9 | + | asNormal | |
| 10 | + | TActionsがホットキーなどで呼び出された場合の通常の処理。 | |
| 11 | + | ||
| 12 | + | asSuspended | |
| 13 | + | 呼び出し時に応答せず、ただしTAction.Enabledは変更されない | |
| 14 | + | ||
| 15 | + | asSuspendedEnabled | |
| 16 | + | 呼び出し時に応答せず、ただしすべてのTAction.Enabledは*true*に設定される | |
| 17 | + | ||
| 18 | + | TActionListをダブルクリックすると、TActionListエディタが表示され、新しいTActionを追加できます。アクションリストエディタで右クリックすると、ローカルメニューが表示される。[[TStandardAction|TStandardActionは]]<span class="kbd">Ctrl+Ins</span>でも利用可能である。 | |
| 19 | + | ||
| 20 | + | <figure> | |
| 21 | + | <img src="actionlist-editor.png" title="actionlist-editor.png" /> | |
| 22 | + | <figcaption>actionlist-editor.png</figcaption> | |
| 23 | + | </figure> | |
| 24 | + | ||
| 25 | + | ## 以下も参照のこと | |
| 26 | + | ||
| 27 | + | - [[doc:lcl/actnlist/tactionlist.html|TActionList documentation]] | |
| 28 | + | - [[TAction]], [[TActionLink]], [[TActionListEnumerator]], [[TContainedAction]], [[TCustomAction]], [[TCustomActionList]], [[TShortCutList]] | |
| 29 | + | - [[TStandardAction]] | |
| 30 | + | ||
| 31 | + | --- | |
| 32 | + | *From the Free Pascal wiki, page "TActionList/ja", as it stood on 2024-03-24 after a change by Ariben, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
