Condividi tramite


DynamicCurrentControl Property

Specifies which control contained in a Column object is used to display the values of the active cell. The name of the control is re-evaluated each time the Grid control is refreshed. Available at design time; read-write at run time.

Column.DynamicCurrentControl[ = cExpression]

Property Values

  • cExpression
    Evaluates at run time to the name of the control that displays and accepts data for the active cell in Column.

Remarks

The default control is a TextBox having Text1 as the Name property. Use the AddObject method to add other controls.

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 TextBox. 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.

See Also

AddObject Method | CurrentControl Property

Applies To: Column