Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi ActionList...was ist das überhaupt? (https://www.delphipraxis.net/46450-actionlist-ist-das-ueberhaupt.html)

snapman 25. Mai 2005 02:43


ActionList...was ist das überhaupt?
 
Wäre lieb wenn mir das jemand sagen könnte..vielleicht ist das ja sehr nützlich :gruebel:

Luckie 25. Mai 2005 03:04

Re: ActionList...was ist das überhaupt?
 
Hilfe kaputt? Delphi-Referenz durchsuchenTActionList
Zitat:

Description

Use Action lists to centralize the response to user commands (actions). Action list components maintain a list of actions that are available to the client controls in an application. Add action list components to your form or data module from the standard page of the component palette. Double-click the action list to display the action list editor, from which you can add, delete, and rearrange actions.

Sharky 25. Mai 2005 06:44

Re: ActionList...was ist das überhaupt?
 
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:

Zitat von snapman
..vielleicht ist das ja sehr nützlich

Sehr nützlich sogar ;-)

Wenn Du z.B. mehrere Buttons/Menüpunkte hast welche die Selbe Funktion haben reicht es wenn Du bei allen als .Action eine Aktion zuweisst. Wenn Du im Code nun Action.Enabled := False setzt werden automatsich die verbundenen Elemente auch deaktiviert.

Ich hänge mal ein ganz einfaches Beispiel an.


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:15 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz