Form or Dialog ...

Just curious (beginner)....
What is the difference between
a classic Form and form used to display
a dialog?
Is it the same thing if I used a classic
form and shaped it in a form of dialog
instead of using Delphi dialogs?
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.

the delphi dialogs are for when for instance you want a user to select a file ,you would use a topendialog
and call on a button click event opendialog1.execute and the selected filename would be held in opendialog1 filename for you to use in your code somewhere.

as for creating a dialog form just make a normal form and sets it formstyle in object inspector to fsdialog.
Regards Barry
Hi young man,
   The OpenDialog is a Form too,
but you can't change it's look.
And it is made especially for Opening Files.
   You can use an empty standard form
to make your own Dialog, by changing
it's FormStyle property to fsDialog.
   In other words you can make a Dialog
from any Form or just use standard Dialogs if you want just to Open, Save
Files    etc.
   So think of a Dialog as just a Form
with some special adjustments.
         Alexander Hristov
         email :

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
Inthe, Barry Well done for getting to 2nd place..... but just to add why do most diallog boxes handles start with.... #32770 whats that got to do with dialogs?

P.S i would like to see what questions you have ever asked, but theres that damn many it crashes my machine everytime i try to look :)

Craig C.
yes know what ya mean about #32770
it may be some standard for dialogs maybe derived from the forms style (i mean the flags that are set internally) though im not sure.

its annoying that the paq questions are so long and not split onto a couple o pages specially if im looking for code from an old question :-) takes ages to load ..
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

From novice to tech pro — start learning today.