Jump to content

How do I disable buttons in my plugin?


Recommended Posts

What would be the code to disable buttons so that they are grayed out and cannot be selected? I don't want them eternally unavailable, of course, but done so that I can decide when to disable them or not.

 

(It would also be nice if people told me where to post plugin-related questions or make the navigation of the actual website friendlier because I couldn't find it under Paint.NET forum -> Paint.NET).

Link to comment
Share on other sites

Read this tutorial:

Additional Indirect UI Rules Tutorial

If you still have questions, post them here.

NOTE: This can not be done in CodeLab. You'll need Visual Studio for this type of functionality.

If your plugin has been developed in CodeLab, follow this tutorial in order to migrate it to Visual Studio:

http://forums.getpaint.net/index.php?/topic/28423-

  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...