PDA

View Full Version : Is it possible to enable/disable a Toolbarbutton depending on the content...



michael.mest
07-16-2010, 12:57 AM
Is it possible to enable/disable a Toolbarbutton depending on the content of the currently selected Tab?

In detail: I've create a button, which gives the User the funcationality to get the currently displayed XAction as PDF-Document.

But the Problem is, that this only works for Xactions. So if the PDF-Button is enabled, but a prpt-File or the dashboard is displayed, it runs into an error.

So i would like to change the state of the button in relation to the currently shown solution-type.

Can anyone give me a hint for that?