# Modules: formproperties editable in main solution

**URL:** <https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412>\
**Category:** Classic Servoy\
**Created:** [January 10, 2005, 8:20am UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412 "2005-01-10T08:20:40Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 10, 2005, 8:20am UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/1 "2005-01-10T08:20:40Z")

</div>

Hi,

I have a mainsolution with a module linked into it . when I do the following, I can edit the module solution:

- I run this main solution in Developer
- In formview, I go to a form that belongs to the module
- when the module form is shown, I switch to design mode
- Offcourse, the form will not show in designmode, but the form properties do show
- If I edit the formproperties of the module form, they are acually changed and stored in the module.

Doesn’t sound like the right behavior to me…

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 10, 2005, 2:08pm UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/2 "2005-01-10T14:08:53Z")

</div>

already fixed in 2.2b2  
Designmode is disabled now for modules.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 12, 2005, 7:49am UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/3 "2005-01-12T07:49:54Z")

</div>

I’ve tested this on beta2: I can still edit formproperties of forms that belong to a module.

Procedure:  
start developer  
select a solution that has modules  
go to a form in formview that belongs to the module  
switch to designmode

at that moment, the form doesn’t go to designview (correct) but the formproperties are shown. In the properties tab, I can, for example, attach another method to the onshow event of the form.

I think that should not be possible, right?

Also, when switching to designmode when looking at a form that belongs to a module, the behavior of Developer becomes a bit inconsistent. sometimes, switching back to formview will show the form from the module again, sometimes the last form that belongs to the actual solution you have open displays again. this might need some tweaking?

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 13, 2005, 3:58pm UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/4 "2005-01-13T15:58:52Z")

</div>

how do you switch to design mode?  
CTLR-L or the icon in the toolbar are all disabled. So you shouldn’t be able to go to design mode because the action is disabled.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 13, 2005, 4:09pm UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/5 "2005-01-13T16:09:37Z")

</div>

The icon…

I noticed weird behavior with that icon being disabled. didn’t know it should be disabled if viewing a module form, will chech the behavior.

But, I’ve seen the icon disabled in solutions that didn’t have any modules in them, and I’ve been able to switch a module form into designmode, so I guess it doesn’t work flawlessly yet.

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 13, 2005, 5:03pm UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/6 "2005-01-13T17:03:04Z")

</div>

we don’t disable the icon.. We disable the action behind it So also the menu iten is disabled. And because of that the Key combination is also disabled.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 14, 2005, 8:16am UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/7 "2005-01-14T08:16:09Z")

</div>

johan,

Tested it this morning.:

- start Developer
- select a form belonging to a module from the menu with all forms
- click the Icon to switch to designview.

Immediatly, the formProperties tab is shown and I can edit it.

Paul

PS: would it be possible to get some visual feedback that a form belongs to a module? for example: Another icon in the menu with all forms, and/or "(Module xxxxxxx) in the title?

Servoy Developer  
Version R2 2.2b2-build 317  
Java version 1.4.2\_06-b03 (Windows XP)

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 14, 2005, 9:25am UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/8 "2005-01-14T09:25:30Z")

</div>

aren’t you doing something funky with youre menu plugin??

Because you really shouldn’t be able to click on that icon because it should be disabled. I tested it here with a few systems all working fine.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 14, 2005, 9:38am UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/9 "2005-01-14T09:38:18Z")

</div>

Very sure about that, because in the solution I opened, I do not use the plugin.

But for the sake of it, I tested it (removed the plugin from the plugin dir) and the result is the same…

In your last post you say the icon should be disabled. You mean the action or the actual Icon?

What I see happening is the Icon to switch modes flickers a couple of time when switching forms, but in the end the Icon stays enabled.

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [January 17, 2005, 9:52am UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/10 "2005-01-17T09:52:39Z")

</div>

i have no idea why that happesn. But the action under the icon or the menu item should be disabled. It is disabled at my place and others that i have tested.

Can you do a test with a very very simple solution? that has a very simple module? It should be disabled when you move to that form.

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 17, 2005, 12:02pm UTC](https://forum.servoy.com/t/modules-formproperties-editable-in-main-solution/3412/11 "2005-01-17T12:02:03Z")

</div>

I did a clean install of Servoy and there I cannot reproduce it, while on the environment where I upgrades from 2.1.2 I can… ![:?]( "Confused")

Paul
