Home > Ngoprek > Error: Cannot Make a Visible Window Modal

Error: Cannot Make a Visible Window Modal


One of my projects utilize the power of MDI (multiple documents interface), but for some reasons, some forms need to be converted from MDIChild to ordinary form. But the compiled application produced the error: Cannot Make a Visible Window Modal. So how to fix it?

The first step I ensure was the FormStyle must be the right value. For MDIChild, it has fsMDIChild while ordinary form must be fsNormal, yes it has. But in order to make the conversion works perfectly, you must set the [b]Visible[/b] property to [b]False[/b]. That is, and the problem resolved. 🙂

Categories: Ngoprek
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: