Color Columns in a Browse

Description

The color of a browse column is a property that you can set at design time or at run time with Xbasic code. To set a browse column color at design time.

  1. Open the browse in the Browse Editor by opening a browse and the opening design mode.

  2. Double click to select the column.

  3. Right click and select Properties... .

  4. Display the Border tab.

  5. Set the Foreground color.

  6. Save your results and exit the Browse Editor.

This example code was attached to a button and changes the Description column's color to light green. The browse is named browse1.

browse1:description.fill.forecolor="Light Green"

See Also