>>I have a grid for child table records on a form. The
>>Readonly property for the cursor, grid, columns, and
>>textboxes has been set in the forms designer to .F..
>>The grid Enable property has been set to .F. also. All columns have Sparse set to .F.. When the user clicks on an Edit button, I enable the grid. The problem I am having is that when a grid textbox is clicked on with the mouse, or tabbed to, the Readonly property changes to .T.. Clicking on the Record Marker area affects column 1. Any subsequent attempt to edit a value produces a "The Record is Read-Only." message. I have no code in any method that changes this property. I checked this with the Trace and Debug windows.
>>
>>Has anyone run into a problem like this? I tried looking
>>through Knowledge Base, but I came up empty. The list of
>>known bugs for 3.0b does not have anything on this.
>>
>>Another "feature" of the VFP grid control?
>
>Jim
>
>Cursors are Read Only. Is that what you really meant?
>
>Tom
Tom,
I was using the term cursor as it relates to tables in the Data Environment which have a ReadOnly property. I have tried doing some resets of ReadOnly in grid events, but the problem persists. I'm going to build a new grid and see what happens.
Thanks for responding. From what I see, you spend a lot of time on the Thread doing this. It's reassuring to know somebody out there is listening, as a lot of us on the Thread appear to be on our own with VFP.
Jim
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement