Question related to groups

On 25/12/2014 at 22:55, xxxxxxxx wrote:

Hi,

Are nested groups using GroupBegin allowed .

On 26/12/2014 at 07:55, xxxxxxxx wrote:

Hello,

you can use nested groups using GroupBegin(). You find some nested groups in the C++ example AsyncDialog.

Best wishes,
Sebastian

On 29/12/2014 at 03:29, xxxxxxxx wrote:

Hi,

In my plugin i need to have various tabs which i am doing by tabGroupBegin(). Inside it whenever I do a GroupBegin() a new tab is added.
Now in each tab i need a different layout of buttons and other components. For that i need to add groups inside a group. But whenever I am following tabGroupBegin -> groupBegin -> groupBegin  (nested group begins) , it is not acting as expected . So how can i do that.

On 29/12/2014 at 08:04, xxxxxxxx wrote:

Do you call GroupEnd() when you're done with a group?

On 29/12/2014 at 19:55, xxxxxxxx wrote:

Yes.

On 02/01/2015 at 06:01, xxxxxxxx wrote:

Hello,

something like this is possible:

  
      self.TabGroupBegin(9999,c4d.BFH_LEFT)  
  
      self.GroupBegin(id=0, flags=c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT, cols=30, rows=1, title="Tab A", groupflags=0)  
  
      # subgroup  
      self.GroupBegin(id=10, flags=c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT)  
        
      # suff in this group  
        
        
      self.GroupEnd()  
        
      self.GroupEnd()  
  
      self.GroupBegin(id=1, flags=c4d.BFH_SCALEFIT|c4d.BFV_SCALEFIT, cols=30, rows=1, title="Tab B", groupflags=0)  
  
      # stuff in this tab  
  
      self.GroupEnd()  
  
      self.GroupEnd()  

What exactly is "not acting as expected" ?

best wishes,
Sebastian

On 05/01/2015 at 01:04, xxxxxxxx wrote:

Hi,

I am looking into it. Will update you after some time.

Thanks.