You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the multi-contest implementation, the new Contest Selection dropdown list contains a menu of contest names. This list is current not sorted. We are currently using the contest enumeration value as a storage key in the MorseRunner.ini file and want this number to not change.
Steps To Reproduce
When adding a new contest, we want to append the new contest to the end of the enumeration and contest definition table.
This may cause the displayed menu to not be sorted. This is the case when adding CQ WW Contest.
Expected behavior
The dropdown list should be sorted.
Actual Behavior
We currently see declaration order, not sorted.
Reproduces how often
Always.
Version information
Morse Runner version: 1.80, plus a new contest (requires code modification to see the problem).
OS/Version: Windows 11
Additional context
Currently, the menu items are added directly to the SimContestCombo control in the Main.dfm file.
The menu items are stored in SimContestCombo.Items.
Implementation Ideas
The implementation will involving:
writing code to programmatically add the menu items to this list in a sorted order
tagging each menu item with a tag consisting of the contest identifier (the TSimContest enum value). Using a menu item tag will allow the menu items to be sorted.
This also technique will also allow future internationalization.
Can you help?
Please let us know if you are available to help. (replace '[ ]' with '[x]' to affirm)
Yes, I'm available to help test a solution to this problem.
The text was updated successfully, but these errors were encountered:
Description
As part of the multi-contest implementation, the new Contest Selection dropdown list contains a menu of contest names. This list is current not sorted. We are currently using the contest enumeration value as a storage key in the
MorseRunner.ini
file and want this number to not change.Steps To Reproduce
Expected behavior
The dropdown list should be sorted.
Actual Behavior
We currently see declaration order, not sorted.
Reproduces how often
Always.
Version information
Additional context
SimContestCombo
control in theMain.dfm
file.SimContestCombo.Items
.Implementation Ideas
The implementation will involving:
tag
consisting of the contest identifier (theTSimContest
enum value). Using a menu itemtag
will allow the menu items to be sorted.Can you help?
Please let us know if you are available to help. (replace '[ ]' with '[x]' to affirm)
The text was updated successfully, but these errors were encountered: