Malcolm Clark wrote:
> I'm probably having a bad day but I can't figure out how to change the
> "Enabled" property of all TAction's in a TActionList without specifying
> each TAction explicitly.
> TActionList doesn't have an "Enabled" property. So I reasoned that it
> must be possible to reiterate through the list of TAction's owned by the
> TActionList somehow or another and fix the change in eg a "for" loop.
> But I haven't found it:-)

It looks like TActionList has Actions and ActionCount properties.

You can also set the state to asSuspended to tell the actions to stop
responding.

http://groups.google.com/group/borland.public.delphi.objectpascal/browse_thread/thread/85df446096c37ca/36812ac1f252452d

-- 
Rob


_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to