|How to get one command to affect the visibility of another command? [message #488428]
||Mon, 28 September 2009 11:44
| Marc Khouzam
Registered: July 2009
I've created two commands using the command framework.
I would like the second command to only be visible when the first command is toggled.
I've gotten very close by using a property tester triggered by the variable "selection". The problem is that when I press the button that triggers the first action, there is no change in selection, so my property tester does not get called. I have to manually change the selection to trigger the visibility to change.
Is there something I can do programatically to get the platform to re-check the visibility requirement of a command so that my property tester gets called when I need?
Powered by FUDForum
. Page generated in 0.01437 seconds