>1. Is this the best way to do this?
not sure i follow exactly what you're up to - but if
you want to manipulate groups of controls like one
unified component take a look at "Frames"
>2. When I drop a TNamNAMEditor on a form:
>- A single click does not select it
>- I can not left mouse click drag it on the form
> How do I solve that?
try including csDesignInteractive in the set of
ControlStyles for the child controls you want to
manipulate in design mode.
i.e.
constructor TNamNAMEditor.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
BevelInner := bvNone;
BevelOuter := bvNone;
FF := TfraCustomNamEditor.Create(nil);
FF.Parent := Self;
FF.Align := alClient;
FF.ControlStyle := ControlStyle + [csDesignInteractive];
FF.Show;
end;
ns
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz