ComponentOne List 8.0 for ActiveX
FetchCellStyle Event (TDBCombo)

 

TDBCombo Reference> TDBCombo Events> FetchCellStyle Event (TDBCombo)

FetchCellStyle Event (TDBCombo)

The FetchCellStyle event occurs when the control is about to display cell data in a column whose FetchStyle property is set to True.

Syntax

object_FetchCellStyle (ByVal Condition As Integer, ByVal Split As Integer, Bookmark As Variant, ByVal Col As Integer, ByVal CellStyle As TrueDBList80.StyleDisp)

TDBDropDown_FetchCellStyle (ByVal Condition As Integer, Bookmark As Variant, ByVal Col As Integer, ByVal CellStyle As TrueDBList80.StyleDisp)

Arguments

Condition is the sum of one or more CellStyleConstants describing the disposition of the cell being displayed.

Split is an integer that identifies the split containing the cell being displayed.

Bookmark is a variant that identifies the row containing the cell being displayed.

Col is an integer that identifies the column containing the cell being displayed.

CellStyle is a Style object used to override the font and color characteristics of the cell being displayed.

Remarks

By setting one or more properties of the Style object passed in the CellStyle parameter, your application can change the appearance of individual cells.

See the CellTip constants for a list of allowable values.

You can also set the ForegroundPicture property of the CellStyle parameter to display distinct bitmaps on a per-cell basis.

Event applies to TDBList and TDBCombo controls.

See Also

TDBList and TDBCombo Controls

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback