G'Day,
I have the following:
type
TfraCustomNamEditor = class(TFrame)
private
{ Private declarations }
public
{ Public declarations }
end;
type
TNamNAMEditor = class(TCustomPanel)
private
FF : TfraCustomNamEditor;
protected
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
published
property Align;
end;
constructor TNamNAMEditor.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
BevelInner := bvNone;
BevelOuter := bvNone;
FF := TfraCustomNamEditor.Create(nil);
FF.Parent := Self;
FF.Align := alClient;
FF.Show;
end;
Essentially I want to use the frame for Visual component placement (I don't
want to have to create controls at run time and then place them) etc and the
TNamEditor only exposes what it has to. I have two questions in this regard:
1. Is this the best way to do this?
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?
TIA
------------------------------------------------------------------------
--Donovan
Donovan J. Edye [www.edye.wattle.id.au]
Namadgi Systems, Delphi Developer
Web: www.namsys.com.au E-Mail: [EMAIL PROTECTED]
Voice: +61 2 6285-3460 Fax: +61 2 6285-3459
TVisualBasic = Class(None);
GXExplorer [http://www.gexperts.com/gxexplorer/] Freeware Windows Explorer
replacement. Also includes freeware delphi windows explorer components.
------------------------------------------------------------------------
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz