Skip to Content
author's profile photo Former Member
Former Member

Iterator design & design2003

Hi everybody!

I experienced the following problem :

Since "design2003" is specified in a BSP, the parameter "P_STYLE" in the render method of an iterator doesn't work anymore.

So how can I change the background color of a given cell & still use design2003 ?

Thanks for your replies

François

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Jul 27, 2006 at 02:20 PM

    Hi,

    this question comes up fast evry week. Last topic:

    Background color of gridlayoutCell

    Please read the answers there.

    It is the same with tables as with other elements.

    Best regards,

    Dezso

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2006 at 06:52 AM

    Hi François,

    As of design2003 you can still use p_style to change the coloring of individual cells, but you'll have to use predefined constants. Possible values are:

    p_style = 'celldesign:ALTERNATING;'.

    p_style = 'celldesign:BADVALUE_DARK;'.

    p_style = 'celldesign:BADVALUE_LIGHT;'.

    p_style = 'celldesign:BADVALUE_MEDIUM;'.

    p_style = 'celldesign:CRITICALVALUE_DARK;'.

    p_style = 'celldesign:CRITICALVALUE_LIGHT;'.

    p_style = 'celldesign:CRITICALVALUE_MEDIUM;'.

    p_style = 'celldesign:GOODVALUE_DARK;'.

    p_style = 'celldesign:GOODVALUE_LIGHT;'.

    p_style = 'celldesign:GOODVALUE_MEDIUM;'.

    p_style = 'celldesign:GROUP_HIGHLIGHTED;'.

    p_style = 'celldesign:GROUP_HIGHLIGHTED_LIGHT;'.

    p_style = 'celldesign:GROUP_LEVEL1;'.

    p_style = 'celldesign:GROUP_LEVEL2;'.

    p_style = 'celldesign:GROUP_LEVEL3;'.

    p_style = 'celldesign:KEY_MEDIUM;'.

    p_style = 'celldesign:MARKED;'.

    p_style = 'celldesign:NEGATIVE;'.

    p_style = 'celldesign:POPIN;'.

    p_style = 'celldesign:POSITIVE;'.

    p_style = 'celldesign:STANDARD;'.

    p_style = 'celldesign:SUBTOTAL;'.

    p_style = 'celldesign:SUBTOTAL_LIGHT;'.

    p_style = 'celldesign:TOTAL;'.

    p_style = 'celldesign:TRANSPARENT;'.

    Add comment
    10|10000 characters needed characters exceeded