Set up a public variable in Form1 to store the name of the form. Read the variable to get the name of the form that was the previous one.
Mike -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Curtis cloud Sent: Friday, 12 August 2005 12:47 AM To: [email protected] Subject: [delphi-en] How to get the name of the previous form. Here is my problem. I have three forms total: form1, form2, and form3. Form1 and form 2 has the ability to call form3. Also, form 1 and 2 has timers that are triggered when they receive focus. Form3 has a close event associated to it. After form3 has been called by form1 or form2, then closes form3 should revert back to the form that called it which, by design, should activate its timer. Does anyone know how to do this.... If I can get the previous form's name, that will do it for me.. R/Kurt.. ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hoo5inn/M=362335.6886445.7839731.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123843523/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/

