Commands and OnUpdate |
Post Reply ![]() |
Author | |
Bruno Fierens ![]() TMS Support ![]() Joined: 11 May 2010 Posts: 8339 |
![]() ![]() ![]() ![]() Posted: 07 Aug 2012 at 10:58am |
You'd need to add a custom interface that would communicate this enabled/disabled state from the plugin to the host app. There is no standard interface for this provided.
|
|
![]() |
|
Matic Nebojsa ![]() New Member ![]() Joined: 28 Nov 2010 Posts: 2 |
![]() ![]() ![]() ![]() |
Is there recommended way how to have commands from plugin to be enabled or disabled. For example
when I load pulgin and add commands it have to menu or toolbar of host application is there way to have onUpdate which will enable or disable that item like it is with TAction. We have TForm in plugIn and commands state (enabled/disabled) should correlate to choices that user made upon that form. |
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |