>I have a docked toolbar
>It is not into any form, it´s the main toolbar on the top of my app.
>How can I disable a button of this toolbar at the moment I open
>a form, and enable it again at the moment I close de form ?
>
>Thanks
>
>Moises
You would use the form's Init() and Destroy() method. The toolbar is controlled through some variable, you can access it through that variable.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)