AddTabGroupBegin



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 06/08/2003 at 01:08, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   7.303 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi,
    I wanted to create a group of controls inside a scroll group. I decided to use TAB. I know the followings flags are available for TAB.
    0 - SELECTION_NONE
    1 - SELECTION_TABS
    2 - SELECTION_CYCLE
    3 - SELECTION_RADIO
    When I use 0,2,3 in AddTabGroupBegin() everything works fine. But when I use 1-SELECTION_TABS, I cannot see Tab Group. Here I attached my code, can anybody help me?

        
        
        
        
        AddScrollGroupBegin(GROUP_SCROLL,BFH_SCALEFIT|BFV_SCALEFIT,SCROLLGROUP_VERT);  
        {  
          AddTabGroupBegin(200,1,1);  
          {  
            AddGroupBeginV(1,BFV_TOP|BFH_SCALEFIT,1,"First Page",0);  
           {  
               AddGroupBeginH(1000,5,1,"",0);  
               {  
                  AddCheckbox(CheckboxID,0,2,2,"");  
                  AddEditText(EdittextID,0,200,0);  
               }  
               AddGroupEnd();  
           }  
           AddGroupEnd();
        
        
        
        
            AddGroupBeginV(1,BFV_TOP|BFH_SCALEFIT,1,"Second Page",0);  
           {  
               AddGroupBeginH(1000,5,1,"",0);  
               {  
                  AddCheckbox(Checkbox2ID,0,2,2,"");  
                  AddEditText(Edittext2ID,0,200,0);  
               }  
               AddGroupEnd();  
           }  
           AddGroupEnd();
        
        
        
        
           }  
           AddTabGroupEnd();  
        }  
        AddScrollGroupEnd();
        
        
        
    


Log in to reply