Should I use "Set Text Color" or Set "Color of Text"?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I've noticed that string objects have two separate actions that change their color (see pic below)

    I've been haphazardly using both without realising it, and this seems to have led to some inconsistent behaviour in some of my text objects. I don't know if that's caused by the way the two methods interact with each other, or if I've just become confused and have made some mistakes in my code. Either way, I've decided to choose one method and stick to it, for simplicity. At the very least, it'll make it easier to find relevant code using "Find all", since each method is phrased differently.

    Which one should I choose? Are they effectively the same, or do they have differences (eg. maybe one is more compatible with certain DX versions or font types?) I'm leaning towards the "set text color" method (purple in the pic), since it's grouped with all the other main font parameters, but I thought I'd check in case someone knew something more about this. I couldn't find any explanation of this in the help.


    Please login to see this picture.

    Please login to see this link.
    My Fusion Tools: Please login to see this link. | Please login to see this link. | Please login to see this link.

    Edited once, last by Volnaiskra (February 17, 2023 at 7:38 AM).

  • As far as I know the text sub menu will appear automatically if you define flags in GetTextCaps in edittime.cpp, then Fusion will call those functions in runtime to let you handle the change.
    So I assume the later ones are just something legacy, before such thing was implemented in SDK.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!