# How to create a new controller?

**URL:** <https://forum.servoy.com/t/how-to-create-a-new-controller/1766>\
**Category:** Classic Servoy\
**Created:** [April 22, 2004, 8:08am UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766 "2004-04-22T08:08:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cuoredisardegna\_tiscali.i](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cuoredisardegna\_tiscali.i](https://forum.servoy.com/u/cuoredisardegna_tiscali.i)\
**Post date:** [April 22, 2004, 8:08am UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766/1 "2004-04-22T08:08:43Z")

</div>

Could anyone help me?  
I see in crm that one form can use controller of another form ( i.e. companies uses controller navigation ).  
Lookig to this example i’d wanted to make the same.  
So, i made a solution in which i created two forms: form1(controller default); form2.  
Then, i think that i have :

1. to create a new controller;
2. to assegnate it to form1;
3. To assegnate it to form2 so that form2 can be called as part of form 1.

The problem for me is that when i click on default controller, property editor windows appears me, but, from there, it is impossible for me to create a new controller

Tanks in advance  
Gianni Pinna

---

<div class="post-metadata">

**Author:** ![automazione](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@automazione](https://forum.servoy.com/u/automazione)\
**Post date:** [April 22, 2004, 11:29am UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766/2 "2004-04-22T11:29:19Z")

</div>

You can have a look tho this nice video that shows how to define your own controller.

[http://developer.servoy.com/demos/navigation.htm](http://developer.servoy.com/demos/navigation.htm)

So.

1. define the form (MenuPrincipale) you want to be a controller, put showInMenu properties to false in it’s properties panel and controller to none and select a width of aprox. 140

2. define the forms you want to be controlled (Form1, Form2) and select MenuPrincipale as their controller

and that’s all !!!

just remember to uncheck the showInMenu!!! of the controller form, if not MenuPrincipale will not appear in the controller selection.

CordialitM-`

---

<div class="post-metadata">

**Author:** ![cuoredisardegna\_tiscali.i](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cuoredisardegna\_tiscali.i](https://forum.servoy.com/u/cuoredisardegna_tiscali.i)\
**Post date:** [April 22, 2004, 12:46pm UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766/3 "2004-04-22T12:46:32Z")

</div>

Hi Enrico,

i was thinking about wath you wrote about your pleasure in communicating the developer-truth you have discovered.  
Really the man not only wishes to find the truth, when he does not possess it, but also to communicate it when he obtains it. The communication gives him the measure of his excellence not only because intelligent sed also becaue good: “Bonum diffusivum sui” -Il bene e’ diffusivo per la sua stessa natura-.

I have had much progress from Your specifications about portal.  
Now i’l work in accord of Yours new specifications.  
Tank You very much.  
Grati sensi di stima  
Gianni Pinna

---

<div class="post-metadata">

**Author:** ![maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@maarten](https://forum.servoy.com/u/maarten)\
**Post date:** [April 22, 2004, 2:00pm UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766/4 "2004-04-22T14:00:58Z")

</div>

Please try not to start different threads for the same question.  
Thank you.

[http://forum.servoy.com/viewtopic.php?p=8412#8412](http://forum.servoy.com/viewtopic.php?p=8412#8412)

 ![Captura de pantalla 2011-01-12 a las 13.26.02.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/1X/61f46578adaa675f95a4cd656898dd5f5c1cf563.png)

---

<div class="post-metadata">

**Author:** ![cuoredisardegna\_tiscali.i](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cuoredisardegna\_tiscali.i](https://forum.servoy.com/u/cuoredisardegna_tiscali.i)\
**Post date:** [April 22, 2004, 2:59pm UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766/5 "2004-04-22T14:59:53Z")

</div>

Dear Mr Marten,  
tankyou for Your right suggestion to wich i will look. Excusing for mistake of mine.

Regards

* * *

Gianni Pinna

---

<div class="post-metadata">

**Author:** ![cuoredisardegna\_tiscali.i](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cuoredisardegna\_tiscali.i](https://forum.servoy.com/u/cuoredisardegna_tiscali.i)\
**Post date:** [April 22, 2004, 3:02pm UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766/6 "2004-04-22T15:02:34Z")

</div>

Errata corrige!

Dear Mr Marten in Dar Mr. Maarten.

---

<div class="post-metadata">

**Author:** ![Riccardino](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@Riccardino](https://forum.servoy.com/u/Riccardino)\
**Post date:** [April 22, 2004, 6:14pm UTC](https://forum.servoy.com/t/how-to-create-a-new-controller/1766/7 "2004-04-22T18:14:13Z")

</div>

> cuoredisardegna@tiscali.i:  
> sed also becaue good: “Bonum diffusivum sui”

Quite inusual too see scholastic maxime quoted in a software discussion ![:lol:]( "Laughing")

Anyway, that’s what this forum is meant for: to give and receive help and to share experiences.

…and to have fun with Servoy ![:wink:]( "Wink")
