Hello, I'm trying to build a context sensitive based command list. I set the command.ITEM option for all my command buttons. But I couldn't find a way how to provide the following functionality:
I have a list of values say A, B,C For A, my command menu should contain 2,4 When I move the selection (cursor) to B, my commands menu should have 1,3 When I move to C, commands should have 2,1 Again when I move back to A, it should have A's command menu (2,4)
It can be used for a list of files and directories:
When a file is selected, I want to show options (commands) open, edit and delete. When I select a directory, I want to show commands just open and delete.
Thanks in advance for any help pointing to the right direction.