Walter Meester
HoogkarspelPays-Bas
Hi Craig,
A few thoughts:
Are you able to select and copy the contents of the columns ? If not then it should not be somthing with a readonly property. Can you check the enabled property.
Also, what happens if you add a command button on the form, just doing a:
THISFORM.Grid.RecordSource = ""
THISFORM.Grid.RecordSource = "MyRecordSource"
or just a
THISFORM.Grid.RecordSource = THISFORM.Grid.RecordSource
Also, in the columns, does the currentcontrol property point to the right control ?
Just some thoughts
Walter,
>Using VFP 8.0, SP 1. I have a grid with 7 columns, each subclassed. In the load of the form, I CREATE CURSOR, then populate it in the Init. The data shows fine in the grid. I can edit data in columns 1-5, but in columns 6 & 7, the data cannot be edited. I get the message "Control is read only". When I check the settings for the columns and the textboxes in the columns, both are enabled and both are set to ReadOnly = .F.. Any ideas what's causing this?
Précédent
Suivant
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