It's Friday ;-) Regards Paul McKenzie Analyst Programmer SMSS Ltd. ----- Original Message ----- From: "vss" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 11:50 AM Subject: Re: [DUG]: Forms in an MDI application
> oh...hehehe...yeah...thats embarsing :) thanks. > > Jeremy > > -----Original Message----- > From: "Paul McKenzie" <[EMAIL PROTECTED]> > To: Multiple recipients of list delphi <[EMAIL PROTECTED]> > Date: Fri, 2 Aug 2002 11:41:52 +1200 > Subject: Re: [DUG]: Forms in an MDI application > > > What about: > > > > TScreen.Forms > > Lists all the forms currently displayed in the application. > > > > property Forms[Index: Integer]: TForm; > > > > Description > > > > Use Forms to access a form by index. The value of Index is a number > > between > > zero (the first form) and FormCount - 1. Forms can be used with > > FormCount > > when an application needs to iterate over all its forms, including all > > dialogs. > > > > Forms only lists the TForm descendants in the application. This does > > not > > include, for example, property pages. To get a list that includes > > TCustomForm descendants that do not descend from TForm, use CustomForms > > instead. > > > > Warning: The order in which Forms lists its forms is affected by the Z > > order > > of the forms. Do not change the Z order of forms when using Forms to > > iterate > > over the forms in an application. > > > > HTH > > > > Regards > > Paul McKenzie > > Analyst Programmer > > SMSS Ltd. > > ----- Original Message ----- > > From: "vss" <[EMAIL PROTECTED]> > > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> > > Sent: Friday, August 02, 2002 11:23 AM > > Subject: [DUG]: Forms in an MDI application > > > > > > > Hi all. I want to find the instance of a form in an MDI application I > > > have. > > > I cant loop thru the MDIChildren as the form might have been created > > > from another MDIChild. > > > > > > Is there a way to loop thru the forms to find the one I am looking > > for? > > > > > > Jeremy > > > > > > > > ----------------------------------------------------------------------- > > --- > > - > > > New Zealand Delphi Users group - Delphi List - > > [EMAIL PROTECTED] > > > Website: http://www.delphi.org.nz > > > To UnSub, send email to: [EMAIL PROTECTED] > > > with body of "unsubscribe delphi" > > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > > > > > > > > ----------------------------------------------------------------------- > > ---- > > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > To UnSub, send email to: [EMAIL PROTECTED] > > with body of "unsubscribe delphi" > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/