Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is it possible to have a List Box Background Color to change, depending on a specified Variable value?
Just use Background color of the text box and write expression like
= IF(vVariable = 1, Green(), LightGray())
Please make it clear about the business, Is that is interview question?
Hi Anil,
I don't understand your English, sorry...
Could you please rephrase your reply for making it easier for me to understand.
Thanks.
/Hans Kaminsky
I am asking, Please explain in detail..
Aha,ok.
My variables can have the values 1 or 0.
When a specific variable has the value 1, I want the relevant List box background color to be green.
When the variable has the value 0, I want the List box background color to be grey.
Ok?
Like this?
May be this might help. There is not straight forward background color for listbox. Just use a different Style in Presentation tab and use Background button.
Read this:
Hi, I wrote List Box, but what I really meant was TEXT BOX (sorry about that..!)
So, how can the background color of a Text Box dynamically be set depending on the value of a Variable?
(green when the Variable = 1, grey when the Variable = 0)
Just use Background color of the text box and write expression like
= IF(vVariable = 1, Green(), LightGray())
Hi, I wrote List Box, but what I really meant was TEXT BOX (sorry about that..!)
So, how can the background color of a Text Box dynamically be set depending on the value of a Variable?
(green when the Variable = 1, grey when the Variable = 0)