Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    CUSTOMGUI_BUTTON

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 267 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      On 11/12/2014 at 04:16, xxxxxxxx wrote:

      For the creating of a "BITMAPBUTTON" there is a option to change the backcolor of the button " BITMAPBUTTON_BACKCOLOR"
      _
      _
      But I can't find anything for the " _CUSTOMGUI_BUTTON"  _
      Is there anyway to change the backcolor or maybe the text color of this button in Python????

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 11/12/2014 at 05:36, xxxxxxxx wrote:

        Hello,

        a button created by setting CUSTOMGUI_BUTTON or calling AddButton()[URL-REMOVED] directly has no further options. It will always use the COLOR_TEXT_BUTTON[URL-REMOVED] color defined in the "Interface Colors" to draw the text and COLOR_BG[URL-REMOVED] to draw the background.

        best wishes,
        Sebastian


        [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 12/12/2014 at 08:40, xxxxxxxx wrote:

          Thanks, its a pity, because I wanted to press the button(CUSTOMGUI_BUTTON)
          and after it runs the code to return to its false value, but then show a diff backcolor to show that it was the last button pushed.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post