IsDialog Boolean to check if Form is in Dialog Mode??

Hi, Thanks for clicking,

We show lots of forms, some in ShowDialog mode and some simply as Show

How can we check to see if the current Form is in Dialog mode programmatically

That is, Is there a property of the form called IsModal or IsDialog or something similar to return a Boolean value??

Genuine thanks for reading
Who is Participating?
Mike TomlinsonConnect With a Mentor Middle School Assistant TeacherCommented:'re so close!  Microsoft wasn't consistent in its naming conventions...

Instead of IsModal(), it is actually just Modal():
StuartKAuthor Commented:
Just Perfect, Thanks Idle Mind!!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.