Specifies which control in a Column object is used to display the values of the active cell. Available at design time; read/write at run time.
Column.DynamicCurrentControl [= cExpression]
Specifies a character expression that evaluates to the name of the control that displays and accepts data for the active cell in the specified column at run time. The name of the control is reevaluated each time the Grid control is refreshed.
Note: The default control is a TextBox control with Text1 as the Name property. To add other controls, use the AddObject method.
Applies To: Column Object
|The GridВ AutoFit method might not resize adequately to display the entire contents of a column if you use this property.|
If the column's Sparse property is set to True (.T.), only the active cell in the column uses the object specified in the DynamicCurrentControl property setting to display data; the other cells display data using a text box. If the Sparse property is set to False (.F.), all cells in the column use the object specified in the DynamicCurrentControl property setting to display data.