Designmode unavailable on one form

Since rc8, it seems that designmode is greyed out on one of my 157 forms. The one form is my main form which contains a tabpanel that displays other forms with other tabpanels and so on, with a custom controller that also uses a tabpanel that changes its index depending on what is currently displayed in the main form. I get no error messages, no little yellow triangle in the bottom left corner and everything appears to work fine other than not being able to go into designmode from this form. I can use the ‘Window’ menu to select another form and designmode becomes available. Doing so and switching back to the one problematic form does not bring designmode back. I saw this in the rc8 release note:

[fix]-designmode sometimes possible when used for module form

As far as I know I am not using any of Servoy’s module functionality. If I open my solution in rc7, I have designmode available on every form. Any ideas?
Steve in LA

I see the same thing.

I have a form with a hidden tabpanel where only 1 specific form causes the design-mode to be disabled.
Changing back to other forms in that tabpanel doesn’t change things.
Switching to another form from the one with the tabpanel does re-enables the design-mode again.

I will dig some more into this.

So far I have found that my onLoad method has something to do with it.
I commented out all my code and replaced it with a simple application.beep() and the same thing happens.
But when I comment out all the code then design-mode stays active.

Steve can you reproduce this behavior with your solution?

Well it seems I was partly correct.
I forgot to switch to design-mode and back so the onLoad method would be fired again.

Even an empty onLoad method results in a locked design-mode.
But when you load the form directly, so not in a tabpanel, the design-mode stays active.

that fix is only applied to even not being enabled to switch at all.
The browse mode can’t be leaved for module forms.

See the toolbaar icon for the designmode switch. Is that enabled or disabled. That specific fix only disabled that action much better when needed.

ok thx to hjk i found the bug and fixed it.

When I visit many (but not all) of my forms, the Design icon becomes greyed out. Once it becomes greyed on one, it becomes greyed on all. From this point the only way I can enter Design mode is by closing the solution and reopening it.

I’ve opened backups dating back to February. Same thing, so it’s definitely in 2.2rc8.

A quick fix on this would be greatly appreciated.