The information in this article applies to:
SYMPTOMSIf the Enabled property of a cell is changed in the AfterRowColChange event, the effect may not take place immediately. A cell that should be enabled may be disabled after moving to it from a disabled cell. Moving to a different cell in that row and back again enables the cell. CAUSEThe Enabled property at the column level is checked upon entry to the field. If it is changed after entering a field, it is not looked at again until you leave and re-enter the field. WORKAROUNDIf you wish to disallow editing of a cell based on the contents of the cell, set the ReadOnly property to true (.T.) as shown below:
Furthermore, you can change the color of the active cell by following the
steps outlined in the following article in the Microsoft Knowledge Base:
Q129280 How to Change the Color of the Active Cell in a Grid STATUSThis behavior is by design. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words: kbdsd VFoxWin
Keywords : FxprgGrid |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |