cm_Rereadsource = tooltip says "Reread source"
https://ibb.co/p2fNstZ
Add to parameters "1" tooltip says "cm_Rereadsource"
cm_Rereadsource tooltip
Moderators: white, Hacker, petermad, Stefan2
cm_Rereadsource tooltip
OS: Win10 | TC: latest x64
Re: cm_Rereadsource tooltip
Parameters for cm_commands can completely change their function, so I think it is OK to only show the tooltip from the .inc (or .mnu) file if no parameters are used.
Take for example cm_SrcByName - without parameter it toggles the name sorting, but with parameter 8 it stores the sort order for later use. If you make a button with cm_SrcByName 8 then it will not really do anything - so it is OK that the tooltip does not show "Source: Sort by name".
or cm_Edit - without parameters it opens the file in configured editor, but with parameter /C it acts as cm_EditNewFile
Take for example cm_SrcByName - without parameter it toggles the name sorting, but with parameter 8 it stores the sort order for later use. If you make a button with cm_SrcByName 8 then it will not really do anything - so it is OK that the tooltip does not show "Source: Sort by name".
or cm_Edit - without parameters it opens the file in configured editor, but with parameter /C it acts as cm_EditNewFile
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 48138
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: cm_Rereadsource tooltip
When you create a button with an internal command without parameters, TC stores this internally with the numeric value of the internal command, and shows the description of the command as tooltip. When you use parameters or chain multiple commands, TC stores the command as text and only parses it when you press the button. Then the command field itself is used as the tooltip. You can enter your own tip text if you prefer. It's currently not planned to change this behavior because parameters can really change a command a lot, e.g. when using cm_edit there are a lot of parameters to create new files or open other files.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: cm_Rereadsource tooltip
Moderator message from: petermad » 2024-03-26, 01:53 UTC
Moved to "TC Behaviour which will not be changed" from "TC11.x bug reports (English)"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar