How could I make a list of all forms that my project has

I need a function to get all the forms name that my project has and put it in a combox
Alexandre
LVL 1
hidrauAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pcsentinelCommented:
Provided the forms have been created then you can do

var
      li: integer;
begin
      for li:=0 to pred(Screen.FormCount) do
        ComboBox1.Items.Add(Screen.Forms[li].Name);
end;

regards

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hidrauAuthor Commented:
Hello pcsentinel
I posted a question of one small project that I am working and nobody posted anything. Could you please take a look ?
Isn't it possible to get all list of my forms in my project, even forms not created?

Thanks
hidrauAuthor Commented:
My last opened post

"I need some help to complite my game word with richtext"
pcsentinelCommented:
Ok I will take a look but it will have to be tommorrow

You cant list uncreated forms as they dont exist, so there are no references to them as yet
hidrauAuthor Commented:
Ok, Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.