ā2020-02-16
10:26 PM
- last edited on
ā2024-09-24
09:45 AM
by
Doreena Deng
Solved! Go to Solution.
ā2020-03-07 02:41 PM
'STR#' ID_MENU_STRINGS_NEW "Menu strings" {
/* [ ] */ "Planersoftware 2.0"
/* [ 1] */ "Erstelle neues Fenster oder Tür^32101"
}
But this way:'STR#' ID_MENU_STRINGS_NEW "Menu strings" {
/* [ 1] */ "Planersoftware 2.0"
/* [ 2] */ "Erstelle neues Fenster oder Tür^32101"
}
ā2020-03-09 10:06 AM
ā2020-03-12 02:29 PM
ā2020-03-13 07:22 AM
ā2020-03-13 09:33 AM
Martin wrote:Those aren't indices ā they're just comments. The compiler ignores them, so they could contain nothing or not be there at all. We put them in as an easy visual check when referencing the menu items in code, i.e. ensuring the code aligns to the resources.
The indexes are the problem. It is not working this way:
'STR#' ID_MENU_STRINGS_NEW "Menu strings" {
/* [ ] */ "Planersoftware 2.0"
/* [ 1] */ "Erstelle neues Fenster oder Tür^32101"
}
ā2020-03-13 03:22 PM
ā2020-03-13 03:35 PM
'STR#' 32510 "Nested Menu" {
"Main Menu"
"Submenu"
"Item 1"
"Item 2"
"Item 3"
}
'STR#' 32511 "Single Item" {
"Main Menu"
"Item 1"
}
The single menu item and submenu above will both appear under the menu "Main Menu".
ā2021-06-23 12:46 AM