FormatText Event
The FormatText event occurs when the control is about to display cell data in a column whose NumberFormat property is set to the string FormatText Event.
object_FormatText (ColIndex As Integer, Value As Variant)
Arguments
ColIndex is an integer that identifies the column being displayed.
Value is a variant containing the underlying data value.
Event applies to TDBList and TDBCombo controls.
The Value argument contains the underlying data value and also serves as a placeholder for the formatted data to be displayed.
This event allows you to provide your own text formatting for cases where Visual Basic's intrinsic formatting is either unavailable or does not suit your needs.
See Also