more G-Labs products

Author Topic: Order of items in module setup is random  (Read 763 times)

January 24, 2015, 06:53:13 PM
Read 763 times

bkenobi

  • *****
  • Information
  • Global Moderator
  • Posts: 1525
I just noticed that the order of items that are defined in C# scripts that are in the Program.Setup code display in a different order than when they are defined.  A quick test shows that the order is controllable, but not very cleanly.  The order is defined by the alphabetic sort of the comment field.  I can control the order by adding a "1, 2, 3, ..." to each item I add, but this is not the most pleasing when displayed.  Perhaps there could be some parameter defined that was optional that could be used to control the display order?  Or, maybe there is a way in code to keep them displayed in the same order as defined?  This is not a large issue, but when there are items that should be grouped by order, it does help (e.g., "Enable Log" would logically be next to "Log Path").

This does not seem to affect the module specific parameters, only the global script specific parameters.
« Last Edit: January 24, 2015, 06:55:29 PM by bkenobi »


There are no comments for this topic. Do you want to be the first?