Text Color in Gedialog



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

    On 08/04/2009 at 00:50, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   10.5 11  
    Platform:      
    Language(s) :     C++  ;

    ---------
    Hello All,
    is there a way to change text color in edittextarroe in a gedialog?
    i build interface in Createlayout, without res.
    Thanks
    Franz



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

    On 08/04/2009 at 01:23, xxxxxxxx wrote:

    You have to use SetDefaultColor() with the ID of the dialog element.

    > \> GroupBegin(0,BFH_SCALEFIT|BFV_SCALEFIT,0,0,String(""),0); \> { \>           AddMultiLineEditText(10000,BFH_SCALEFIT|BFV_SCALEFIT); \>      SetDefaultColor(10000, COLOR_TEXT_EDIT, Vector(1,0,0)); \> } \>

    Check c4d_colors.h for all avaible color IDs.

    cheers,
    Matthias



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

    On 09/04/2009 at 05:06, xxxxxxxx wrote:

    Thanks Matthias,
    it works on R11, but is not sopported from R10.5
    Best
    Franz


Log in to reply