Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Unable to create forms in a visual project
Thu, Apr 26 2018 1:23 AMPermanent Link

thomh

I have a visual project with a mix of 28 form and unit files.

I wanted to create a new form in this project and I noticed that the File -> New -> Form and Database menu items are disabled.

I am able to create a new Unit but not a form.

If I open up smaller visual projects they are not disabled.

What can be the reason why are the menu items are disabled?

// Thom
Thu, Apr 26 2018 8:00 AMPermanent Link

Uli Becker

> What can be the reason why are the menu items are disabled?

The compiler doesn't recognize your project as a visual project. Did you modify the project's source code?
If you have nested blocks there e.g. that will happen.

Uli
Thu, Apr 26 2018 11:19 AMPermanent Link

thomh

Right you are, Uli.

I had put an if then else in the project source.

// Thom

Image