This is the Personal Stock Monitor scripting developers forum.
Not logged in.
2011-02-11 01:52:15
1 of 3
#2948
Howdy Anatoly,

When creating Custom Columns in a script, do the added columns REMAIN after PSM is exited and restarted? Or does the script need to be run every time PSM is started, in order to re-create the Custom Columns?

Thanks,

-Don
Posted by: dgoyette
2011-02-11 14:58:27
2 of 3
#2961
in reply to #2948
Columns are saved with the .stkx files, but you must always include the code to create the column when the script is initialized, because the user may have created a new .stkx file and the custom column will not be in there. The call to CreateMemoColumn or CreateExpressionColumn will do nothing if the column already exists.
Posted by: Anatoly
2011-02-11 15:36:53
3 of 3
#2966
in reply to #2961
Thank you much!
Posted by: dgoyette