Add menu icon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-02-16
10:26 PM
- last edited on
2024-09-24
09:45 AM
by
Doreena Deng
How can I do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-07 02:41 PM
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" }But this way:
'STR#' ID_MENU_STRINGS_NEW "Menu strings" { /* [ 1] */ "Planersoftware 2.0" /* [ 2] */ "Erstelle neues Fenster oder Tür^32101" }
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-09 10:06 AM
I just tried indexing your way (starting from 1 for the main menu), but I'm still not getting the menu-icon.
Dushyant Basson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-12 02:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-13 07:22 AM
DG_Test.grc has: "DG Functions^10000"
But DG_TestFix.grc has no identifier with 10000.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
}
Central Innovation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-13 03:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2020-03-13 03:35 PM
For example:
'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".
Central Innovation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-06-23 12:46 AM
Just a guess...
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »