KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Alternate coloring of List Box Rows using the Form Editor
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: July 2, 2007
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

It is possible to alternate the row color in a List Box without writing any code.

A default List Box looks like this:



Here is how to enable alternating row colors without writing any code:

Open the Properties for the List Box in the Form Editor. Scroll down to the Properties 'Background Color' and 'Alternate Background Color'. This is where you set the color to use for the rows in the List Box. Simply click and set the color you desire. Here is a screenshot of the Properties:



Upon viewing the form with the ListBox, you should see that alternating rows are colored based upon the colors you selected.