Skip to Content
author's profile photo
Former Member

Different background colors for Caption and Value

Hi all,

How to give different background colors for Caption and Value parts of a Text Field or any other such type of fields?

I used a workaround, using a Static Text field for Caption, and Text field(without caption) for field part. The problem here is when the Text field is set to Allow for multiple lines, the height of the Text field adjusts at run time, but the height of the Static Text field(used as Caption) remains same, which doesn't look nice. I tried to get the height of the Text field, and set to the height of the Static Text field(used as Caption), but the height returned is always '0'.

Anyone help me on this please.

Thanks,

Prabhakar.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on May 05, 2011 at 03:14 PM

    Fixed..

    Add comment
    10|10000 characters needed characters exceeded