Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control is read only???
Message
De
04/11/2003 15:30:27
Walter Meester
HoogkarspelPays-Bas
 
 
À
04/11/2003 13:24:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00846096
Message ID:
00846154
Vues:
28
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
Fil
Voir

Click here to load this message in the networking platform