Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Roger Withnell 128 posts 613 karma points
    Oct 16, 2015 @ 07:27
    Roger Withnell
    0

    Create value from propert

    My document type contains a background colour for the content editor to choose. It is rendered when the view is processed. Depending on the choses background colour, I need to select a foreground colour for the text at run time.

    Easy to hard code table of background colours and related foreground colours but should I use a controller to make the selection? It would be useful to use this routine in other circumstances.

    Your help would be much appreciated.

    Thanking you in anticipation.

    Roger

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies