Get ID of selected tab in dialog

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 !

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

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

Thank you !