HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Help => Topic started by: flybob on September 29, 2014, 11:31:15 PM

Title: Remove Program.Parameters?
Post by: flybob on September 29, 2014, 11:31:15 PM
I have this very simple problem, the parameters i used when developing my program simply wont go away!

What can i do to prevent the widget to display all program parameters that it has?

I tried setting Program.Parameter("Blabla").Value = null; but that really doesnt do it, i need to remove the entire Parameter. Dispose(), Remove() and Delete() have been tried but im not very familliar with C#.

Help?
Title: Re: Remove Program.Parameters?
Post by: bkenobi on September 30, 2014, 04:09:47 PM
There may be a more elegant solution, but I edited the modules.xlm file and deleted those parameters I didn't want.
Title: Re: Remove Program.Parameters?
Post by: flybob on September 30, 2014, 10:31:17 PM
So did I and it worked... but yes, rather ugly.

How am I supposed to do it the correct way?
Title: Re: Remove Program.Parameters?
Post by: haitch on October 07, 2014, 06:03:08 AM
It does not look like such a helper method is available.  I guess editing the modules.xml file is the only method as of now.
Title: Re: Remove Program.Parameters?
Post by: Gene on October 07, 2014, 10:03:35 AM
See attacched screenshots.

Cheers,
g.
Title: Re: Remove Program.Parameters?
Post by: kebob on October 07, 2014, 11:26:48 AM
Is there a similar method for adding them Gene?

I'm new around here and trying to get to grips with things, and at one point I've read "add custom param blah blah" But the only way I've can figure it out is via source files?