PRB: Can't Define Text Object ControlSource Property in a Grid
Article ID: 135904
Article Last Modified on 2/15/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q135904
SYMPTOMS
When attempting to change the ControlSource Property of the Text1 text
object in a column of a grid, you receive this error message:
Parent object will not allow this property setting Text1.ControlSource
CAUSE
This is by design. This occurs because when the column is bound, the
ControlSource property is implicitly set.
RESOLUTION
Set the Bound property to false (.F.) for the column. If the column is not
bound, you can set the ControlSource for Text1.
STATUS
This behavior is by design. It follows the principle of inheritance in
Object Oriented Programming. The column is bound to a ControlSource
already, so the Text1 object in the column is inheriting the same
ControlSource property.
Additional query words: 3.00 VFoxWin
Keywords: KB135904