Reputation: 6376
I have a dialog form that can be opened as a modal or non-modal dialog. From within the dialog, how can I tell in which manner the dialog was opened, i.e. modal or not?
Upvotes: 1
Views: 260
Reputation: 57823
The Form
class has a Modal
property:
You can use this property to determine whether a form that you have obtained from a method or property has been displayed modally.
Upvotes: 5