Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid ReadOnly doesn't affect column's readonly?
Message
 
 
To
01/02/2007 15:17:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01191585
Message ID:
01191606
Views:
7
>>Hi everybody,
>>
>>I have a grid class where ReadOnly property is set to true. I have a form with a grid based on this class. In this grid I have just one column with Sparse = .f. and an EditBox instead of a regular textbox. The user just pointed me to a problem, that he can change any content here. So, does it mean that ReadOnly for the grid doesn't apply to its columns? That's a bit strange.
>>
>>Thanks in advance.
>
>It doesn't apply to Editbox. You could add Return .F. to when event.

BTW, returning .F. from the When makes the editbox disabled (e.g. you would not be able to scroll).
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform