Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

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

    Fixed..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.