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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Get ID of selected tab in dialog

    SDK Help
    0
    3
    502
    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
      Helper
      last edited by

      On 10/10/2017 at 02:27, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R17 
      Platform:   Windows  ;   
      Language(s) :

      ---------
      Hello.

      I have a Tab group with selection tabs in a dialog. I need to know which is the current tab.
      I use the command method to read the id parameter every time I click a tab, but it gives me the tab group instead of the actual selected tab.

      How can I know the selected tab in a tab group ?

      Thank you for your time !

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

        On 10/10/2017 at 03:20, xxxxxxxx wrote:

        Int32 TabsValue;
        TabGroupBegin(ID_TABS, BFH_SCALEFIT | BFV_SCALEFIT);
        GetInt32(ID_TABS, TabsValue);
        

        Should work normally

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

          On 11/10/2017 at 01:18, xxxxxxxx wrote:

          Thank you !

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