Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

Get ID of selected tab in dialog

 Post Reply Post Reply
Author
Message
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 300
Post Options Post Options   Quote peterakos Quote  Post ReplyReply Direct Link To This Post Topic: Get ID of selected tab in dialog
    Posted: 2017 Oct 10 at 2:27am

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 !
Back to Top
gr4ph0s View Drop Down
Member
Member


Joined: 2015 Jul 07
Location: France
Online Status: Online
Posts: 366
Post Options Post Options   Quote gr4ph0s Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Oct 10 at 3:20am
Int32 TabsValue;
TabGroupBegin(ID_TABS, BFH_SCALEFIT | BFV_SCALEFIT);
GetInt32(ID_TABS, TabsValue);

Should work normally
Technical lover.
Back to Top
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 300
Post Options Post Options   Quote peterakos Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Oct 11 at 1:18am
Thank you !
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.047 seconds.