ComponentOne List 8.0 for ActiveX
FormatText Event

 

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.

Syntax

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.

Remarks

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

TDBList and TDBCombo Controls

 

 


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

Product Support Forum  |  Documentation Feedback