greenockboy Posted April 24, 2008 Share Posted April 24, 2008 Hi I've been under the impression, after having read through scores of posts to the forum, that the background colour of a textfield cannot be 'toggled' using a style coupled with a condition or conditions. I have managed to do just this with ease and felt that I should post the solution to the forum should anyone else seek the same. The solution is to ensure that the text field's own property has the background set to the default setting. (The style will be overridded if the text field background is directly set to anything other than default). Then create your style, add as many conditions as you wish with a different background colour for each condition..........then simply add the style to your text field. One point though, any changes you make to a style will not be reflected in the text field until you remove the style from the text field and then re-apply it.(Quirk of ireport?) Hope this helps someoneGB - ScotlandPost edited by: greenockboy, at: 2008/04/24 09:41 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now