Sign in Join
Wiki copytemporary

Revision 2 of 2, by Ariben on 3-24-2024. The page as it is now.

TActionList/ja

TActionListコンポーネントは、TActionコンポーネントのコンテナである。ボタン、メニュー、ダイアログ、コントロールのActionプロパティでTActionを使用すると、マウスクリック、メニュー選択、ダイアログ選択などの効果を1つのイベントハンドラで中央集約することができる。

TForm上でTActionListを使用するには、コンポーネントパレットのStandardタブでそれを選択し、フォーム上でクリックして配置する。

画像
TActionListの含まれるTActionsに対応する画像を保持できるTImageListへのリンク。

状態
asNormal
TActionsがホットキーなどで呼び出された場合の通常の処理。

asSuspended
呼び出し時に応答せず、ただしTAction.Enabledは変更されない

asSuspendedEnabled
呼び出し時に応答せず、ただしすべてのTAction.Enabledはtrueに設定される

TActionListをダブルクリックすると、TActionListエディタが表示され、新しいTActionを追加できます。アクションリストエディタで右クリックすると、ローカルメニューが表示される。TStandardActionはCtrl+Insでも利用可能である。

以下も参照のこと


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.