3

I have a TComponentEditor descendant which I register for TActionList to offer some customized options.

Back in D2007 I could show the default ActionList editor by calling ShowActionListDesigner from the unit ActnEdit. Adding designide.dcp to the required packages was all that was necessary:

procedure TMyActionListEditor.ExecuteVerb(Index: Integer); 
begin   
  if Index=1 then
    //do some stuff    
  else
    ActnEdit.ShowActionListDesigner(Designer, Component as TCustomActionList); 
end;

Now in XE5 I tried other packages like vcldesigner.dcp, but I can't seem to find which package contains ActnEdt. Strangely enough it is used inside FMXReg.pas.

Is there a different way to invoke the standard TActionList editor window?

msohn
  • 326
  • 2
  • 12

1 Answers1

3

The ShowActionListDesigner method is in the Actnedit unit which is part of the dclstd package.

RRUZ
  • 134,889
  • 20
  • 356
  • 483
  • Oh boy, my mistake. So nothing actually changed, I just got the design time package wrong. Thanks for helping me out! – msohn Mar 16 '15 at 21:08