Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control is read only???
Message
From
04/11/2003 15:30:27
Walter Meester
HoogkarspelNetherlands
 
 
To
04/11/2003 13:24:00
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00846096
Message ID:
00846154
Views:
27
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform