With VisiconX, you can configure the display properties of the Grid, ListBox, and ComboBox Controls in their respective OLE Properties dialog boxes. Specifically, you can select the display font and font size of the controls, as well as colors for text, column headings, and backgrounds.
The following picture illustrates a Grid Control with colors set for each element of the control that can have a color property:
Grid Control Color Elements in the run-time environment
This illustration also shows the use of two Grid Control object properties that you can set by opening the object Properties window for the Grid Control.
One property, MergeCells, when set to True, displays one occurrence of repeating column values. For example, customer ID, ALFKI, has six associated orders. Instead of repeating the Customer ID and name six times, once for each order, the values appear once.
The other property, BorderStyle, when set to vxBorderNode, hides the outside border of the grid control. If you turn off the border and set the BackColorBackGround color of the grid to white, the Grid Control appears to be floating in the picture. The following picture is the same as the previous example, except that the BackColorBackGround color is set to white, instead of green; in both pictures, the outside border is hidden.
Grid Control with No Border and White Background Color
To hide the row with column headings and the column with the row marker, you can set the DisplayHeaders and DisplayRowMarker properties in the Properties window of the Grid Control to False. You also have the option to set the column widths in the Grid Control by setting the AutoResize property to False and then entering the column widths in the ColumnWidths property.
See Also
VisiconX ComboBox OLE Properties Dialog Box
VisiconX Data Control OLE Properties Dialog Box