Combo Box



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

    On 18/08/2009 at 19:43, xxxxxxxx wrote:

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

    ---------
    How do I get a combo box when setting up perameter descriptions.

    For example
            STATICTEXT MY_STATIC { ANIM OFF; }

    gives me a static text,

    and

    BUTTON MY_BUTTON {}

    would give me a button, what is the element type for a combo box?

    Thanks in advance,

    ~Shawn



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

    On 18/08/2009 at 20:03, xxxxxxxx wrote:

    LONG with a CYCLE {} defined in it for static selections.

    You can dynamically fill the combo box elements if you implement GetDDescription() and fill in a BaseContainer assigned to the DESC_CYCLE element of a BaseContainer used for the description definitions (set in description->SetParameter()).



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

    On 18/08/2009 at 20:31, xxxxxxxx wrote:

    Great thank you .. worked like a charm. One more question . How do I get a group to be tabbed and to have a border?

    Thanks,

    ~Shawn



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

    On 18/08/2009 at 20:58, xxxxxxxx wrote:

    No group borders in the AM (like in Dialogs). You can 'separate' groups with SEPARATOR { LINE; } in the description resource file.

    Tab groups are only considered at the top level (along with Basic and Coord.). In order for the group to be tabbed at this level, it must have an ID and a string in the description header and string files.

    I really wish that sub Tab groups were possible as it would make organization a bit more clean. You can make sub groups foldable by following the same guidelines above for Tab groups and adding DEFAULT 0; (or 1;) to denote the group as foldable.



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

    On 18/08/2009 at 21:07, xxxxxxxx wrote:

    okay.. I was hoping it was possible. lol I'll just make due with Separators.

    Thanks for your time,

    ~Shawn



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

    On 19/08/2009 at 05:48, xxxxxxxx wrote:

    I'm setting up my descriptions and I get an error. Here's my code.

    > `

      
    \>  CONTAINER TTrueSymmetry  
    \>  {  
    \>       NAME TTrueSymmetry;  
    \>       INCLUDE Texpression;  
    \>    
    \>    
    \>  GROUP ID_TAGPROPERTIES  
    \>  {  
    \>      DEFAULT 1;  
    \>    
    \>    
    \>    
    \>      GROUP  
    \>      {  
    \>         COLUMNS 1;  
    \>         STATICTEXT TEXT_MSYMMETRICAL { ANIM OFF; }  
    \>      }  
    \>    
    \>         SEPARATOR {LINE;}  
    \>    
    \>      GROUP  
    \>      {  
    \>    
    \>       COLUMNS 2;  
    \>         
    \>          LONG SYMMETRY_PLANE { ANIM OFF;  
    \>    
    \>       CYCLE {  
    \>    
    \>             XY_PLANE;  
    \>             ZY_PLANE;  
    \>                XZ_PLANE;  
    \>    
    \>                }  
    \>       }  
    \>    
    \>    
    \>       BOOL SHOW_PLANE {ANIM OFF;}  
    \>    
    \>    
    \>      }  
    \>    
    \>      GROUP  
    \>      {  
    \>         
    \>    
    \>       COLUMNS 2;  
    \>    
    \>    
    \>          LONG MIRRORED_SIDE { ANIM OFF;  
    \>    
    \>       CYCLE {  
    \>    
    \>             RIGHT_PLANE;  
    \>             LEFT_PLANE;  
    \>                TOP_PLANE;  
    \>                BOTTOM_PLANE;  
    \>    
    \>                }  
    \>           }   
    \>    
    \>    
    \>       BUTTON MAKE_SYMMETRICAL {}  
    \>    
    \>      }  
    \>    
    \>    
    \>         SEPARATOR {LINE;}  
    \>    
    \>    
    \>      GROUP  
    \>      {  
    \>         COLUMNS 1;  
    \>         STATICTEXT SYM_OPTIONS { ANIM OFF; }  
    \>      }   
    \>    
    \>    
    \>  } //End TAGPROPERTIES  
    \>    
    \>    
    \>    
    \>    
    \>    
    \>    
    \>  } //END CONTAINER  
    \>    
    \>  
    

    `

    And here is the error I get.

    > `

      
    \>  1>c:\users	he fosters\desktop\cinema4dr11010\plugins	ruesymmetry\res\description	truesymmetry.h(53) : error C2447: '{' : missing function header (old-style formal list?)  
    \>  
    

    `

    Can anyone help me sort this out?

    Thanks,

    ~Shawn



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

    On 19/08/2009 at 06:06, xxxxxxxx wrote:

    The error is in the ttruesymmetry.h file. You have posted the source code of the *.res file, which looks ok.

    Please post the source code of the ttruesymmetry.h file.

    cheers,
    Matthias



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

    On 19/08/2009 at 06:14, xxxxxxxx wrote:

    doh!   I didn't read the error right. I fixed it.. just didn't add the enum.. Thanks Matthias.

    ~Shawn


Log in to reply