Buttonbar temporally disable button: Make button hidden
Posted: 2015-11-22, 09:27 UTC
Sometimes a button (or even buttons) on a buttonbar get useless and only take place. But the user knows that after a specific time (weeks, months, hardly years) they definitely (or probably) will be useful again. Now there are two solutions:
1) Create some text file with button images (TOTALCMD#BAR#DATA...) and save all images there, until they get necessary. But the more numerous they are, the harder is to find some specific button;
2) Create some waste.bar and cut/paste buttons there from working (active) buttonbar. It's rather easy with one button and causes troubles with several (even using script).
I use solution 2 and my waste bar counts 98 buttons. This solution seems better because the user can either load the bar and look at icons, or open the *.bar file and find the text. But when number of buttons grows, both ways get time consuming...
My suggestion is to add checkbox "Hidden" in the button bar edit dialog (cm_ButtonConfig).
If the "Hidden" (or "Disable") checkbox is checked, this button is not visible on buttonbar in "click mode", but is definitely visible in "edit mode" (cm_ButtonConfig). More, in edit dialog the hidden button can be dimmed, crossed out, or marked some other visual way, beside the checkbox
1) Create some text file with button images (TOTALCMD#BAR#DATA...) and save all images there, until they get necessary. But the more numerous they are, the harder is to find some specific button;
2) Create some waste.bar and cut/paste buttons there from working (active) buttonbar. It's rather easy with one button and causes troubles with several (even using script).
I use solution 2 and my waste bar counts 98 buttons. This solution seems better because the user can either load the bar and look at icons, or open the *.bar file and find the text. But when number of buttons grows, both ways get time consuming...
My suggestion is to add checkbox "Hidden" in the button bar edit dialog (cm_ButtonConfig).
If the "Hidden" (or "Disable") checkbox is checked, this button is not visible on buttonbar in "click mode", but is definitely visible in "edit mode" (cm_ButtonConfig). More, in edit dialog the hidden button can be dimmed, crossed out, or marked some other visual way, beside the checkbox