Curtis cloud wrote:

>
> If I can get the previous form's name, that will do it for me..
>
>
Don't know what your intentions are exactly, but this will get the name 
you are after:

type
  TFormWithNameOfCreator = class(TForm);
  private
     FNameOfCreater: String;
  public
     constructor Create(AOwner: TComponent); override;
 end;

constructor TFormWithNameOfCreator.Create(AOwner: TComponent);
begin
  Inherited Create(AOwner);
  if Assigned(AOwner) and AOwner.ClassType <> TApplication then    
    FNameOfCreator := AOwner.Name;
end;

Declare Form3: TFormWithNameOfCreator;


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hhdi39u/M=362335.6886445.7839731.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123793053/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to