Problem resetting controller to default

While experimenting with assigning a controller to a form, I have encountered a problem. I specified another form to be the controller and the form showed up where it was supposed to, then assigned ‘none’ as the controller and that worked too. Now when I try to set the controller back to ‘Default’, it shows no controller as if I still have ‘none’ specified. I can still assign other forms as the controller but can’t seem to get back to the default record slider bar. This may or may not be relevant, but the first form I assigned as a controller had a method assigned to the onShow property, and that method produced an error when the form showed up as the controller. I tried this procedure on a different form, but this time used a controller that did not produce an error and I seem to be able to reset the controller back to default with no problems. I have quit and restarted Servoy and the database server and also tried resetting the controller on a duplicate of the problem form to no avail. I am currently using version 2.1 build 310 on a Mac running OSX 10.3.5.
Thanks in advance,
Steve

do you have a solution for me that shows that behaviour (one form can’t be returned to default controller?)

Hi Steve,

The deafult controller is only available for ‘forms’ whose view property is Record View

Is the problem ‘form’ a list or table view, perhaps ?

Harry

Harry Catharell:
The deafult controller is only available for ‘forms’ whose view property is Record View

Indeed, the form in question was set to List View. Setting it to Record View restores the default controller as it should. Thank you Harry.