[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 811
  • Last Modified:

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
1 Solution
Mike TomlinsonMiddle School Assistant TeacherCommented:
Lol...you'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!!


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now